Skip to content
API for listing available games from The Global Digital Library
Python Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

Game Service

Python 3.7 License

API Endpoints for games supplied by The Global Digital Library.


Before you start

  • node version should be 10 or above (to check node -v) or use nvm.
  • serverless should be installed globally (npm install -g serverless)
  • pyenv should be installed (brew install pyenv)
  • pyenv-virtualenv should be installed (brew install pyenv-virtualenv)

Install Dependencies

  • cd game-service/
  • npm install

Set up virtual environment for python

# 1. Activate pyenv - add to ~/.bash_profile
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"

# 2. Create virtual-env for service
pyenv virtualenv -p python3.7 3.7.0 game-service`

# 3. Activate virtualenv
pyenv activate game-service

# 4. Install depenencies
cd game-service
pip install -r requirements.txt

Run local dev-server

# If part of GDL-team:
gdl deploy local game-service

# If not part of GDL-team:
cd game-service
./  #This will probably fail unless all env-variables are set.

You can’t perform that action at this time.