Skip to main content

GameDataCrunch API on PyPI

Project description

gdc: an API for GameDataCrunch

PyPI status Build status Publish status Updates Python 3 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

data = 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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gamedatacrunch-0.0.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

gamedatacrunch-0.0.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page