Is there any public API available for managing games to make it easier to organize large collections instead of having to search for each game manually and adding to respective shelves?
I’m assuming not, and may just try to reverse-engineer the network requests to tailor to my needs (if that’s ok with @peter), but just wanted to check before attempting it.
I don’t have it publicly documented, but yeah, if you just watch the XHR network traffic on a shelf page, you should be able to figure out how to add and remove games from your shelf.
Adding games is pretty simple: POST to https://www.grouvee.com/api/shelves/<shelf_id>/games/ with a payload {id: <game_id>}
Removing games is a little trickier. You have to know the ID of the shelf entry to delete it off of a shelf. You’d have to parse that from the HTML, or figure it out from https://www.grouvee.com/api/shelves/build_shelf_page/<shelf_id>/
It could definitely be done, and I don’t really mind if you want to figure out a better way to do it. Let me know if you’ve got questions!