Would it be possible to make a RESTful api for accessing carts uploaded to the BBS? Requests could return JSON data. This would allow for people to make their own game browsers and things.
The returned JSON could look something like this:
GET: https://www.lexaloffle.com/api/carts/list { ... {"id": 10025, "title": "Temple Pop"}, {"id": 10022, "title": "Hug Arena"}, {"id": 10010, "title": "Just hold on we\"re going home"}, {"id": 9997, "title": "NOBLINKY SUPER ULTRA BINGO WORLD QUEST"} ... } |
GET: https://www.lexaloffle.com/api/carts/id/10022 { "id": 10022, "thumbnail": "https://www.lexaloffle.com/bbs/thumbs/pico10022.png", "title": "Hug Arena", "author": { "id": 9308, "name": "Benjamin Soulé" }, "file": "https://www.lexaloffle.com/bbs/cposts/1/10022.p8.png" } |
GET: https://www.lexaloffle.com/api/users/id/9308 { "id": 9308, "name": "Benjamin Soulé" } |
GET: https://www.lexaloffle.com/api/users/id/9380/list { ... {"id": xxxxx, "title": "xxxxxxxx"}, {"id": xxxxx, "title": "xxxxxxxx"} ... } |
Looks like someone had an api (using web scraping), but it's dead now ;____; https://www.lexaloffle.com/bbs/?tid=2733
Bumping this thread. I've been trying to make a slack integration that surfaces new carts but scraping the BBS for data is proving to be unreliable. If we had a programmatic way to access cart information it'd allow for a lot of cool projects.
@booyaa Yeah, I was using the Kimono Labs service but it's shutdown :(
I'm trying to migrate it to another service but it's not going very well. I'd write my own scraper but I have neither the time nor the energy to do it now.
[Please log in to post a comment]