-
Create a python virtual environment by using virtualenv or conda
python -m venv env && source venv/bin/activate
-
Clone this repo
git clone https://github.com/Vishnu44d/game_browsing.git && cd env
-
Install dependencies
pip3 install -r requirements.txt
-
- running the server
python3 server.py
- running the server
The Api end points are '\'
{
"status": "OK/Fail",
"data/message": "data or error message"
}
{
"platform": "PlayStation Vita"
}
{
"data": [
{
"editors_choice": true,
"genre": "Platformer",
"plateform": "PlayStation Vita",
"score": 9.0,
"title": "LittleBigPlanet PS Vita"
},
{
"editors_choice": true,
"genre": "Platformer",
"plateform": "PlayStation Vita",
"score": 9.0,
"title": "LittleBigPlanet PS Vita -- Marvel Super Hero Edition"
},
{
"editors_choice": true,
"genre": "Sports",
"plateform": "PlayStation Vita",
"score": 6.0,
"title": "Madden NFL 13"
},
{
"editors_choice": true,
"genre": "Sports",
"plateform": "PlayStation Vita",
"score": 4.0,
"title": "FIFA Soccer 13"
},
{
"editors_choice": true,
"genre": "RPG",
"plateform": "PlayStation Vita",
"score": 5.8,
"title": "New Little King's Story"
}
],
"status": "OK"
}
Example of search api
{
"title": "NHL 13"
}
{
"data": [
{
"editors_choice": true,
"genre": "Sports",
"plateform": "Xbox 360",
"score": 8.5,
"title": "NHL 13"
}
],
"status": "OK"
}