Skip to content

keithrobichaud/smashgg-api-wrapper-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smashgg-api-wrapper-python

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'
  1. Use as such in your python code:
from smashggAPI import client

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

Contributing

Running tests

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages