if anyone has any api questions i gocha
theres also github.com/wulliy/wasteof2-docs
How do I pull something out of the api, say a name or something
well currently everything is name based so there’s not really any reason to get a users name from the api.
the short answer is GET api.wasteof.money/users/NAME
however if you don’t know how rest apis work this could get confusing, so do you need to know that, or did you just need the endpoint?
Mostly how apis work, but if that’s annoying for you, this works
wasteof has a json REST api, which means you got a site (for wasteof that would be api.wasteof.money) and that site returns json (which is a way to show data) to request the api you can use the fetchAPI which is a thing built into browsers and nodejs that lets you send requests easily. using fetch we can send a GET request (GET is the one thats used to get data, POST is for sending data) to get the info. documentation for the endpoints is linked in the post. not sure if this helps