TiLDA MK3 API: Difference between revisions

From EMF Badge
Jump to navigation Jump to search
(Created page with "=== GET api-badge.emf.camp/apps.json === <pre> { "games": [ { user: "someuser" id: "snake", description: "Some game with a snak...")
 
No edit summary
 
Line 5: Line 5:
         {
         {
             user: "someuser"
             user: "someuser"
             id: "snake",
             name: "snake",
             description: "Some game with a snake",
             description: "Some game with a snake",
             files: {
             files: {
Line 14: Line 14:
         {
         {
             user: "someuser2"
             user: "someuser2"
             id: "tetris",
             name: "tetris",
             description: "Some game with a snake",
             description: "Some game with a snake",
             files: {
             files: {
Line 32: Line 32:
{
{
     user: "someuser"
     user: "someuser"
     id: "snake",
     name: "snake",
     description: "Some game with a snake",
     description: "Some game with a snake",
     files: {
     files: {

Latest revision as of 14:51, 13 July 2016

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"
    }
}