The new API has been made with 2 things in mind:
- Easy for everyone to use
- Support all kind of projects (Tools, SPRX's and more)
- Version 3.0.0.1:
- Added an option to prevent the app from closing if not validated.
- Minur bug fixes
- Version 3.0.0.0:
- Initial release
For now I just finished the basic stuff for testing, you can now implement the API with .net easily.
To use the API just download the files from the attachments below and add this to the header of your main form:
using RGAPI;
Add this line on the first line on your class
API api = new API();
If you want to use an API key just append to the API instructure:
API api = new API("fe78ca76965150663c6e40acc2468b11");
Now you can easily access the user on the api.user object just use auto completion and you will see all available information, you can access the vault in the same way just be careful not to use the vault without providing an API key.
MessageBox.Show(api.user.name); // To print username MessageBox.Show(api.vault.vault_data); // To print vault data
Here's the code full example:
To add the API as an option in the tool you can prevent the form closing when not validated, just add this in your button:
api = new API(false); // or with key api = new API("fe78ca76965150663c6e40acc2468b11", false)
It's as simple as that, if you have anything in mind please post it here.
Changelog:
[INFORMATION]IF YOU FIND ANY BUGS PLEASE REPORT IT HERE[/INFORMATION]