Code Monkey home page Code Monkey logo

game_browsing's Introduction

Games

Browsing games for different plateforms

Setup instructions

Server

  • Step 1 (optional but recommended)

    Create a python virtual environment by using virtualenv or conda

    python -m venv env && source venv/bin/activate
  • Step 2

    Clone this repo

    git clone https://github.com/Vishnu44d/game_browsing.git && cd env
  • Step 3

    Install dependencies

    pip3 install -r requirements.txt
  • Step 4

    • running the server
        python3 server.py

Api

The Api end points are '\'

  • /games/

{
  "status": "OK/Fail",
  "data/message": "data or error message" 
}

Example of games api

{
    "platform": "PlayStation Vita"	
}

Output of above request

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

Output of above request

{
 "data": [
     {
     "editors_choice": true,
     "genre": "Sports",
     "plateform": "Xbox 360",
     "score": 8.5,
     "title": "NHL 13"
     }
 ],
 "status": "OK"
}

game_browsing's People

Contributors

vishnu44d avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.