1. Home
  2. Docs
  3. Documentation
  4. Cheats
  5. GET: Cheats by game ID

GET: Cheats by game ID

/v1/game/cheats/{game_id}

Attributes

game_id

Integer: A numeric game identifier.

Example

The endpoint to retrieve the cheats for Sonic the Hedgehog – Sega Megadrive, we will use the endpoint:

Endpoint

/v1/game/cheats/2674

Response

{
    "Requester": "f13",
    "Route": 
    "https://api.retrocrypt.com/rest/v1/game/cheats/2674",
    "Status": "200",
    "Message": "success",
    "Cheat_count": 31,
    "Cheats": [
        {
            "Title": "Confused Sonic",
            "Code": "Hold ( A + B + C )",
            "Description": "While the demo is playing, sonic will lose his place and become confused.",
            "Visible": "1",
            "Votes": {
                "Upvote": "0",
                "Downvote": "0"
            },
            "Device": {
                "ID": "0",
                "Title": "Cheats"
            },
            "Game": {
                "ID": "2674",
                "Title": "Sonic the Hedgehog",
                "URL": "https://md.retrocrypt.com/game/2674/Sonic+the+Hedgehog/"
            },
            "Site": {
                "ID": "2",
                "Slug": "MD",
                "Title": "RetroCrypt Mega Drive",
                "URL": "https://md.retrocrypt.com"
            },
            "Routes": {
                "Game": "https://api.retrocrypt.com/rest/v1/game/2674"
            }
        },
        ....
    ]
}