Home

Awesome

gdc: an API for GameDataCrunch

PyPI status Build status Code coverage Code Quality

This repository contains Python code to download data through GameDataCrunch API.

Installation

The code is packaged for PyPI, so that the installation consists in running:

pip install gamedatacrunch

Usage

Load data

Data is locally cached to data/%Y%m%d_gamedatacrunch.json for offline reuse.

import gamedatacrunch as gdc

data = gdc.load()

Load a list of appIDs

For a list of appIDs (int), without the matching app names:

import gamedatacrunch as gdc

app_ids = gdc.load_app_ids()

Retro-compatibility: Steam API

For retro-compatibility, the output is formatted as with Steam API:

import gamedatacrunch as gdc

data = gdc.load_as_steam_api()

Retro-compatibility: SteamSpy API

For retro-compatibility, the output is formatted as with SteamSpy API:

import gamedatacrunch as gdc

data = gdc.load_as_steamspy_api()
<!-- Definitions --> <!-- Definitions for badges -->