api.violets-purgatory.dev/basicDocs.json
2024-04-21 13:13:40 -05:00

15 lines
1 KiB
JSON

{
"info": "Welcome to the API! It's still a work in process, so there's not much here yet. I don't really know how to do APIs yet so expect it to suck if I add anything.",
"documentation": "https://codeberg.org/Bingus_Violet/api.violets-purgatory.dev",
"current_commands": {
"/v1/pfp": {
"description": "Generates a (biased) random PFP. For use on the main page & with UserPFP on Discord."
},
"/v1/lanyard": {
"description": "Fetches the most recently updated Lanyard update. Only gives data about *my* lanyard status. Don't worry about 'overusing' this, as it doesn't call a request to Lanyard or Discord everytime, it just gets the most recent data gathered by the web socket. Mainly designed to prevent my many sites from overloading the Lanyard socket, but also so that I can add extra features in the future if I so desire."
},
"/v1/spins": {
"description": "Returns the current amount of spins. Not really made to be used, but there as an option :3"
}
}
}