12 lines
898 B
JSON
12 lines
898 B
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 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."
|
||
|
}
|
||
|
}
|
||
|
}
|