{"id":24487061,"url":"https://github.com/supersonichub1/prime-gaming-graphql","last_synced_at":"2026-05-21T10:02:42.276Z","repository":{"id":107108837,"uuid":"429630377","full_name":"SuperSonicHub1/prime-gaming-graphql","owner":"SuperSonicHub1","description":"A documentation and schema scraping of Prime Gaming's GraphQL API.","archived":false,"fork":false,"pushed_at":"2021-11-19T01:18:54.000Z","size":1135,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T23:13:23.284Z","etag":null,"topics":["amazon","graphql","graphql-scraper","prime-gaming","twitch"],"latest_commit_sha":null,"homepage":"https://supersonichub1.github.io/prime-gaming-graphql/index.html","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SuperSonicHub1.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}},"created_at":"2021-11-19T01:18:35.000Z","updated_at":"2025-01-03T09:23:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"f561aff0-6cfd-4016-b7da-d27cb8b58ecb","html_url":"https://github.com/SuperSonicHub1/prime-gaming-graphql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SuperSonicHub1/prime-gaming-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSonicHub1%2Fprime-gaming-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSonicHub1%2Fprime-gaming-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSonicHub1%2Fprime-gaming-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSonicHub1%2Fprime-gaming-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuperSonicHub1","download_url":"https://codeload.github.com/SuperSonicHub1/prime-gaming-graphql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuperSonicHub1%2Fprime-gaming-graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33297128,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["amazon","graphql","graphql-scraper","prime-gaming","twitch"],"created_at":"2025-01-21T15:32:59.397Z","updated_at":"2026-05-21T10:02:42.245Z","avatar_url":"https://github.com/SuperSonicHub1.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prime Gaming's GraphQL API\n\nDiscovered this while making a [calendar app][calendar], might as well\ndocument it. :/\n\n[I'm hosting documentation for this][docs].\n\nThe endpoint is `https://gaming.amazon.com/graphql`.\n\nYou'll need to specify a `csrf-token` header; you can get it from\n`https://gaming.amazon.com/home` and scrape it from the HTML:\n\n```js\nfunction getToken() {\n\tconst el = document.querySelector(\"input[name=csrf-key]\")\n\treturn el.getAttribute(\"value\")\n}\n```\n\nYou're also going to need a [browser user agent][user-agent].\n\nSee `download.sh` for info on how to download the schema; tools like\nPostman and Insomnia should do this for you.\n\nThe schema files in this repository are dated November 18th, 2021. If\nyou notice they're outdated, run `npm run build` and send a pull request\nor simply shoot me an issue.\n\n[docs]: https://supersonichub1.github.io/prime-gaming-graphql/index.html\n[calendar]: https://github.com/SuperSonicHub1/PrimeGamingCalendar\n[user-agent]: https://www.networkinghowtos.com/howto/common-user-agent-list/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersonichub1%2Fprime-gaming-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupersonichub1%2Fprime-gaming-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupersonichub1%2Fprime-gaming-graphql/lists"}