Skip to main content

pystartgg

Wrapper for StartGG API calls, written using documentation from the StartGG API.

Requires a developer API key found in your StartGG Developer Settings.

Usage:

import pystartgg

# File containing your API key
key = open('key.txt', 'r').read()
gg = pystartgg.StartGG(key)

# Get tournament info by tourney slug
slug = 'supernova-2025'
tourney_info = gg.tournament.get(slug)

# Get tournament info by tournament id
tourney_id = tourney_info['id']
tourney_info = gg.tournament.get_info(tourney_id)

# Get tournament events by tournament id
events = gg.tournament.get_events(tourney_id)
melee_event_id = None
for e in events:
    print(e)
    if e['videogame'] == 1:
        if 'SINGLES' in e['name'].upper():
            melee_event_id = e['id']

# Get players for event by event id
# - Only available if the attendee list is public
players = gg.event.get_players_all(melee_event_id)

# Get placements for event by event id
# - Also contains initial seed for each player
# - Only available if the event is live or complete
placements = gg.event.get_placements(melee_event_id)

# Get sets and games for event by event id
# - A set contains the players and scores
# - A game contains the specific character choices
#    and final stock counts during a set, if reported
sets, games = gg.event.get_sets_all(melee_event_id)

# Get player info by id
# - Some fields may be None if profile is private or 
#    the user has not recorded them
player_info = gg.player.get_info(4107)

Release files for pystartgg 0.0.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pystartgg 0.0.19
File Size Uploaded
pystartgg-0.0.19.tar.gz 16.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pystartgg 0.0.19
File Interpreter ABI Platform
pystartgg-0.0.19-py3-none-any.whl Python 3 none any Details

Total release size: 38.0 kB

Release files / pystartgg-0.0.19.tar.gz

Download URL pystartgg-0.0.19.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce0b758e809332be04a28581da72e18a581666ddd595323495762d8bdec52b73
BLAKE2b-256 checksum
How to use checksums
519c00cc213c43ee6088ae3fd7879064d28a6ade5110fa4820bbf78fb6987cd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release files / pystartgg-0.0.19-py3-none-any.whl

Download URL pystartgg-0.0.19-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f5755866218f199294e26c9c86319fc7fe6ea489db5d58caf15234f67490647
BLAKE2b-256 checksum
How to use checksums
3c98652c3272c117b8af74bd4b6ef4c93d431cc1893e5a0892fddd7b2c36fb81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 25, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.19 This release

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page