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

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

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.3.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

gamedatacrunch-0.0.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file gamedatacrunch-0.0.3.tar.gz.

File metadata

  • Download URL: gamedatacrunch-0.0.3.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for gamedatacrunch-0.0.3.tar.gz
Algorithm Hash digest
SHA256 3e77d171ac2f4fe76b82a1e7b9523a6c206f48f67f176a1c9d26ab282a310833
MD5 bd5e340f4ba94c94f64226dc6b394475
BLAKE2b-256 27ce3d7b0e0ad3eaf4d0980680f37114546e5e74f37b0f214c1528e6d9e268c2

See more details on using hashes here.

File details

Details for the file gamedatacrunch-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: gamedatacrunch-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for gamedatacrunch-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6357319b2d23f508dd81c9287cf30a817eb4bbc56089bbe708db3c0cf8374521
MD5 3489a9b6e7f76bb0460b4667699fe2a3
BLAKE2b-256 9f4dfc297749434b8bfc3f7f2b6adc5251e7c98738e54dc4d2a64180965d430a

See more details on using hashes here.

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