This is a quick personal project
Part One will pull the Top PlayStation 3 Games from MediaCritic and output them as an array of JSON elements.
[
{
"title": "XCOM: Enemy Within",
“score”: 88
},
{
"title": "Assasin’s Creed IV: Black Flag",
“score”: 88
}
... etc ...
]
- A HTTP “GET” request a “/games” returns all top PS3 games on metacritic page (this is the same output as represented in Part One)
- A HTTP “GET” request at “/games/TITLE_OF_GAME_GOES_HERE” returns JSON for a specific game that matches the corresponding game title. For example, an HTTP GET at projectG/games/Gran%20Turismo%206 will return an individual JSON object for Gran Turismo 6 like so:
"title": "Gran Turismo 6",
“score”: 81
}```
If there is no match, the response will be a 404 with NULL output,
```curl -s -D - http://projectg.raptorhunter.net/games/asdf```
```HTTP/1.1 404 title not found ```