Diggers

GET diggers/:id/sessions/:id/data

The request returns the dataset scraped in the specified session in the JSON format.

Reference information about the resource:

API Endpoint https://www.diggernaut.com/api/diggers/:id/sessions/:id/data
Response Format JSON
Access Level User
Limits Yes
                    curl -v -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/diggers/1/sessions/1/data
                    
                    HTTP/1.0 200 OK
Date: Sat, 20 Aug 2016 20:43:34 GMT
Vary: Accept, Accept-Language, Cookie
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Content-Language: en
Allow: GET, HEAD, OPTIONS
                    [
    {
        "robot": "Exterminator",
        "planet": "Earth",
        "materials":
            [
                {
                    "feet": [
                        {
                            "plastic": "10%",
                            "metal": "90%"
                        }
                    ],
                    "head": [
                        {
                            "plastic": "2%",
                            "metal": "98%"
                        }
                    ],
                    "body": [
                        {
                        "plastic": "0%",
                        "metal": "100%"
                        }
                    ]
                }
            ],
        "Factory": "DiggerFactory inc.",
        "_id":
            {
                "$oid": "57b8d0d0bf787f6d3f2a6dcc"
            },
        "price": "100$"
    },
    {
        "robot": "CoffeMaker",
        "planet": "Mars",
        "materials":
            [
                {
                    "feet": [
                        {
                            "plastic": "80%",
                            "metal": "20%"
                        }
                    ],
                    "head": [
                        {
                            "plastic": "50%",
                            "metal": "50%"
                        }
                    ],
                    "body": [
                        {
                            "plastic": "0%",
                            "metal": "100%"
                        }
                    ]
                }
            ],
        "Factory": "DiggerFactory inc.",
        "_id": {
            "$oid": "57b8d0d0bf333f6d4f1a6adv"
        },
        "price": "10$"
    }
]