Jul 2, 2015 Replies: 7 This library will allow you to generate random users data. Requirements: 1- B4A 7.x. 2- Internet access. 3- Copy the RandomUserGenerator.xml and RandomUserGenerator.jar to your additional libraries directory. Usage: Code: Private rUser As RandomUserGenerator rUser.Initialize(Me, "Users") rUser.GetRandomUsers(20, "", "", "") The library will return a map containing the data. Each record contains 26 data fields: * Gender * Title * FirstName * LastName * Street * City * State * PostalCode * Email * UserName * Password * Salt * MD5 * SHA1 * SHA256 * Registered * DOB * Phone * Cell * IDType * IDValue * PictureLarge * PictureMedium * PictureThumbnail * Nationality * Seed NOTE: This is a new version which includes minor improvements, if you have a previous version just note the new library name. Screen shots: Attachments RandomUserGenerator_Lib_1.0.zip RandomUserGenerator_Lib_1.0.zip 5.4 KB · Views: 540 RandomUserGenerator_Sample.zip RandomUserGenerator_Sample.zip 22.1 KB · Views: 574 Last edited: Oct 14, 2017 Click to expand...
This library will allow you to generate random users data. Requirements: 1- B4A 7.x. 2- Internet access. 3- Copy the RandomUserGenerator.xml and RandomUserGenerator.jar to your additional libraries directory. Usage: Code: Private rUser As RandomUserGenerator rUser.Initialize(Me, "Users") rUser.GetRandomUsers(20, "", "", "") The library will return a map containing the data. Each record contains 26 data fields: * Gender * Title * FirstName * LastName * Street * City * State * PostalCode * Email * UserName * Password * Salt * MD5 * SHA1 * SHA256 * Registered * DOB * Phone * Cell * IDType * IDValue * PictureLarge * PictureMedium * PictureThumbnail * Nationality * Seed NOTE: This is a new version which includes minor improvements, if you have a previous version just note the new library name. Screen shots:
LucaMs Expert Licensed User Longtime User Jul 2, 2015 #3 Thanks, @NJDude , I like it. Just a little thing... I would change the title of the thread [ops... and also the name of the library ]
Thanks, @NJDude , I like it. Just a little thing... I would change the title of the thread [ops... and also the name of the library ]
udg Expert Licensed User Longtime User Jul 2, 2015 #4 Very nice, NJ ! So..are you sharing with us your Contacts ? I should try to call Ms. Williamson..eheh udg
Very nice, NJ ! So..are you sharing with us your Contacts ? I should try to call Ms. Williamson..eheh udg
jahswant Well-Known Member Licensed User Longtime User Jul 2, 2015 #5 udg said: Very nice, NJ ! So..are you sharing with us your Contacts ? I should try to call Ms. Williamson..eheh ud Click to expand... Randomly generated...
udg said: Very nice, NJ ! So..are you sharing with us your Contacts ? I should try to call Ms. Williamson..eheh ud Click to expand... Randomly generated...
Mashiane Expert Licensed User Longtime User Nov 12, 2017 #6 Hi there, any B4J version of this or it will work as is with B4J?
DonManfred Expert Licensed User Longtime User Nov 12, 2017 #7 You can easily create your own. It just uses the http api from https://randomuser.me/documentation
DonManfred Expert Licensed User Longtime User Nov 12, 2017 #8 Example: https://randomuser.me/api/?dataType=json&results=50