Skip to content

Instantly share code, notes, and snippets.

@dbiesecke
Forked from Bouni/burning-seri.es-api.markdown
Last active August 29, 2015 14:16
Show Gist options
  • Save dbiesecke/f9ae69053a0efc0f7254 to your computer and use it in GitHub Desktop.
Save dbiesecke/f9ae69053a0efc0f7254 to your computer and use it in GitHub Desktop.
burning-seri.es API CheatSheet

Short description of the burning-seri.es JSON API

Fetch a list all available series

GET https://burning-seri.es/api/series

Result (just a fragment):

[
    {"series":"Lost","id":"120"},
    {"series":"Lost Girl","id":"791"},
    ...
]

Fetch data for a series

GET https://burning-seri.es/api/series/<series-id>/0

Example:

https://burning-seri.es/api/series/120/0

Result (just a fragment):

{
    "series":{
        "id":"120",
        "series":"Lost",
        "description":"Ein Passagierflugzeug ...
        ...
        "season":0,
        "epi":[{"german":"","english":"The Final Journey","epi":"1","watched":"0"},
    }
}

Fetch Season data

GET https://burning-seri.es/api/series/<series-id>/<season-no>/

Example:

https://burning-seri.es/api/series/120/1

Result (just a fragment):

{
    "series":{
        "id":"120",
        "series":"Lost",
        ...
        "season":1,
        "epi":[{   
                "german":"Gestrandet (1)",
                "english":"Pilot (1)",
                "epi":"1",
                "watched":"0"
            },
            ...
        ]
    }
}

Fetch episode data

GET https://burning-seri.es/api/series/<series-id>/<season-no>/<episode-no>/

Example:

https://burning-seri.es/api/series/120/1/1

Result (just a fragment):

{
    "series":"Lost",
    "epi":{
        "german":"Gestrandet (1)",
        "english":"Pilot (1)",
        ...
    },
    "links":[
        {"hoster":"BitShare","part":"1","id":"1109049"},
        {"hoster":"Ecostream","part":"1","id":"441106"},
        ...
    ]
}

Fetch hoster data

GET https://burning-seri.es/api/watch/<id>

Example:

https://burning-seri.es/api/watch/1109049

Result:

{
    "hoster":"BitShare",
    "url":"i4klesdu\/Lost---S01E01---Gestrandet--Teil-1.avi.html",
    "part":"1",
    "epi":"12277",
    "fullurl":"http:\/\/bitshare.com\/files\/i4klesdu\/Lost---S01E01---Gestrandet--Teil-1.avi.html"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment