wynd @wynd

if anyone has any api questions i gocha

theres also github.com/wulliy/wasteof2-docs

github.com/wulliy/wasteof-docs

May 11, 2023, 2:51 PM
14
View all Parent

comments

Highlighted comment

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