Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (36 loc) · 1.23 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.23 KB

Game Lists Server

Server for interaction between Game List and Giant Bomb.

Usage

Linux

$ git clone https://github.com/IceArrow256/game_lists_server.git
$ cd game_lists_server
$ python -m venv game_lists_server
$ source game_lists_server/bin/activate
$ pip install -r requirements.txt
$ cp .env.example .env
$ gunicorn game_lists_server.__main__:app --reload -b 0.0.0.0:8000
or
$ python -m game_lists_server

Windows

$ git clone https://github.com/IceArrow256/game_lists_server.git
$ cd game_lists_server
$ python -m venv game_lists_server
$ game_lists_server\Scripts\[activate|activate.bat|Activate.ps1]
$ pip install -r requirements.txt
$ copy .env.example .env
$ python -m game_lists_server

Make sure that you placed valid Giant Bomb API Key in the .env file.

Server has 2 type of requests:

  • Search request /search?query=%name%
  • Getting game data request /game/%id%

Example

http://127.0.0.1:8000/search?query=minecraft

License

This project is licensed under the MIT License.

Thanks