Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/woctezuma/gamedatacrunch
gdc: an API for GameDataCrunch. Available on PyPI.
https://github.com/woctezuma/gamedatacrunch
gamedatacrunch gamedatacrunch-api gdc gdc-api steam
Last synced: 21 days ago
JSON representation
gdc: an API for GameDataCrunch. Available on PyPI.
- Host: GitHub
- URL: https://github.com/woctezuma/gamedatacrunch
- Owner: woctezuma
- License: mit
- Created: 2020-09-23T19:53:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T22:33:28.000Z (10 months ago)
- Last Synced: 2024-03-14T23:30:30.529Z (10 months ago)
- Topics: gamedatacrunch, gamedatacrunch-api, gdc, gdc-api, steam
- Language: Python
- Homepage: https://pypi.org/project/gamedatacrunch/
- Size: 199 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gdc: an API for GameDataCrunch
[![PyPI status][pypi-image]][pypi]
[![Build status][build-image]][build]
[![Code coverage][codecov-image]][codecov]
[![Code Quality][codacy-image]][codacy]
This repository contains Python code to download data through [GameDataCrunch API][gamedatacrunch].## Installation
The code is packaged for [PyPI][pypi], so that the installation consists in running:
```bash
pip install gamedatacrunch
```## Usage
### Load data
Data is locally cached to `data/%Y%m%d_gamedatacrunch.json` for offline reuse.
```python
import gamedatacrunch as gdcdata = gdc.load()
```### Load a list of appIDs
For a list of appIDs (`int`), without the matching app names:
```python
import gamedatacrunch as gdcapp_ids = gdc.load_app_ids()
```### Retro-compatibility: Steam API
For retro-compatibility, the output is formatted as with [Steam API][steam-api]:
```python
import gamedatacrunch as gdcdata = gdc.load_as_steam_api()
```### Retro-compatibility: SteamSpy API
For retro-compatibility, the output is formatted as with [SteamSpy API][steamspy-api]:
```python
import gamedatacrunch as gdcdata = gdc.load_as_steamspy_api()
```[gamedatacrunch]:
[steamspy-api]:
[steam-api]:[pypi]:
[pypi-image]:[build]:
[build-image]:
[publish-image]:[pyup]:
[dependency-image]:
[python3-image]:[codecov]:
[codecov-image]:[codacy]:
[codacy-image]: