Log In  

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"}
    ...
}
P#19591 2016-04-04 12:52 ( Edited 2016-06-29 16:47)

Looks like someone had an api (using web scraping), but it's dead now ;____; https://www.lexaloffle.com/bbs/?tid=2733

P#19925 2016-04-19 17:20 ( Edited 2016-04-19 21:20)

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.

P#23832 2016-06-29 12:38 ( Edited 2016-06-29 16:38)

@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.

P#23837 2016-06-29 12:47 ( Edited 2016-06-29 16:50)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-02-24 21:41:49 | 0.008s | Q:18