TiLDA MK3 API

From EMF Badge
Revision as of 14:51, 13 July 2016 by Marekventur (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GET api-badge.emf.camp/apps.json

{
    "games": [
        {
            user: "someuser"
            name: "snake",
            description: "Some game with a snake",
            files: {
                "main.py": "abcdefgh",
                "images.bmp": "abcdefg"
            }
        },
        {
            user: "someuser2"
            name: "tetris",
            description: "Some game with a snake",
            files: {
                "main.py": "abcdefgh",
                "images.bmp": "abcdefg"
            }
        }
    ],     
    "emf": [...]
    ...    
}


GET api-badge.emf.camp/someuser/snake.json

{
    user: "someuser"
    name: "snake",
    description: "Some game with a snake",
    files: {
        "main.py": "abcdefgh",
        "images.bmp": "abcdefg"
    }
}