Skip to main content

A wrapper for's GraphQL API

Project description


How to use:

  1. pip install smashggAPI
  2. Add your public API key as an environmental variable:

In .bashrc/whatever equivalent file:

export SMASHGG_API_KEY='your api key here'
from smashggAPI import client

result = client.query('''
	query TournamentInfo ($slug: String!) {
		tournament(slug: $slug) {
	"slug": "genesis-6"


Running tests

  1. python -m pip install -r requirements.txt
  2. python -m pytest

Project details

Download files

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

Files for smashggAPI, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size smashggAPI-0.0.2-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size smashggAPI-0.0.2.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page