IceArrow256 / game_lists_server

Server for interaction between Game List and Giant Bomb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Server for interaction between Game List and Giant Bomb

License:MIT License


Languages

Language:Python 99.9%Language:Shell 0.1%