Open nyakase opened 2 years ago
erm, vukkies.json is available in /resources/vukkies.json User gallery can be acquired from /stats much much better than gallery page
erm, vukkies.json is available in /resources/vukkies.json
Ha! I didn't know that. It should probably be somewhere more logical though, like other endpoints.
User gallery can be acquired from /stats much much better than gallery page
What if you want to view other people's galleries?
What is an endpoint, what isn't, and how to access them, is a bit unclear. In addition, some of them could work better.
Decide what endpoints should be used by the general public
Self-explanatory.
Move endpoints (done!)
Endpoints should be moved to
api.vukkybox.com/endpointName
orvukkybox.com/api/endpointName
(or similar options) to make them easier to distinguish from normal pages.Clean endpoints
The design of some endpoints are, uh... messy and probably need some refactoring. Gallery viewing currently exists in the form of scraping gallery pages. Seeing the list of Vukkies involves fetching a not-updated-frequently
vukkies.json
on GitHub, or getting the latest Vukky list by... scraping gallery pages. Not ideal. Hold on, these are just ideas for new endpoints, aren't they? What am I saying here? I forgot?