{"id":51609583,"url":"https://github.com/hunter87ff/espx-py","last_synced_at":"2026-07-12T06:02:26.988Z","repository":{"id":356796362,"uuid":"1229131027","full_name":"Hunter87ff/espx-py","owner":"Hunter87ff","description":"python wrapper for espx api","archived":false,"fork":false,"pushed_at":"2026-05-09T19:18:23.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-09T20:41:09.757Z","etag":null,"topics":["esports-api","graphics","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hunter87ff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-04T18:23:36.000Z","updated_at":"2026-05-09T19:18:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Hunter87ff/espx-py","commit_stats":null,"previous_names":["hunter87ff/espx-py"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Hunter87ff/espx-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunter87ff%2Fespx-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunter87ff%2Fespx-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunter87ff%2Fespx-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunter87ff%2Fespx-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hunter87ff","download_url":"https://codeload.github.com/Hunter87ff/espx-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hunter87ff%2Fespx-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35383520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-12T02:00:06.386Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esports-api","graphics","python"],"created_at":"2026-07-12T06:02:22.412Z","updated_at":"2026-07-12T06:02:26.981Z","avatar_url":"https://github.com/Hunter87ff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESPX Python Client\n\nTyped Python wrapper for the ESPX server.\n\n## What it covers\n\n- Certificate template discovery and generation\n- Battle royale leaderboard template discovery and generation\n- Custom exceptions for auth, validation, transport, and server errors\n- Typed dataclasses for payloads and responses\n\n## Install\n\n```bash\npip install -e ./python\n```\n\n```bash\nuv pip install git+https://github.com/hunter87ff/espx-py.git\n```\n\n## Quick example\n\n```python\nfrom espx import ESPXClient\nfrom espx.models import CertificateData\n\nclient = ESPXClient(\n    base_url=\"https://api.espx.tech\",\n    access_token=\"your-access-token\",\n)\n\ncertificate_url = client.certificates.generate_url(\n    CertificateData(\n        organizer=\"LiFe Esports\",\n        eventname=\"SUMMER CUP\",\n        date=\"04/04/2026\",\n        certificateno=\"123456789\",\n        name=\"Hydra sfx Esports\",\n        rank=1,\n    ),\n    template_id=\"premium_blackyellow\",\n)\n\nprint(certificate_url)\n```\n\n## Design notes\n\nThe current server returns a few shapes inconsistently:\n\n- `POST /certificate/generate` returns a plain string URL or `null`\n- `POST /leaderboard/br/generate` returns `{ \"url\": ... }`\n- `GET /leaderboard/br/templates` returns `{ \"templates\": [...] }` or a bare list when filters are used\n\nThis client normalizes those responses into predictable Python values.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunter87ff%2Fespx-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhunter87ff%2Fespx-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhunter87ff%2Fespx-py/lists"}