{"id":13619342,"url":"https://github.com/mazipan/graphql-pokeapi","last_synced_at":"2025-04-13T04:59:15.156Z","repository":{"id":40438645,"uuid":"239970041","full_name":"mazipan/graphql-pokeapi","owner":"mazipan","description":"🔴  The Unofficial GraphQL for PokeAPI","archived":false,"fork":false,"pushed_at":"2025-02-04T04:33:40.000Z","size":1727,"stargazers_count":180,"open_issues_count":2,"forks_count":32,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T04:59:09.772Z","etag":null,"topics":["graphql-api","hacktoberfest","pokeapi","pokeapi-graphql","pokemon-graphql"],"latest_commit_sha":null,"homepage":"https://graphql-pokeapi.vercel.app/","language":"JavaScript","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/mazipan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"mazipan","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://mazipan.space/support"]}},"created_at":"2020-02-12T09:13:13.000Z","updated_at":"2025-04-12T20:44:06.000Z","dependencies_parsed_at":"2025-01-15T15:13:58.908Z","dependency_job_id":"55a7b92e-8bfe-4848-ba73-064f9a776f34","html_url":"https://github.com/mazipan/graphql-pokeapi","commit_stats":{"total_commits":173,"total_committers":17,"mean_commits":"10.176470588235293","dds":0.6473988439306358,"last_synced_commit":"dc5b96c0b7906459a4ae9b9fd78010c9b3d1dbad"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fgraphql-pokeapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fgraphql-pokeapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fgraphql-pokeapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazipan%2Fgraphql-pokeapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazipan","download_url":"https://codeload.github.com/mazipan/graphql-pokeapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665758,"owners_count":21142123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["graphql-api","hacktoberfest","pokeapi","pokeapi-graphql","pokemon-graphql"],"created_at":"2024-08-01T21:00:38.734Z","updated_at":"2025-04-13T04:59:15.135Z","avatar_url":"https://github.com/mazipan.png","language":"JavaScript","funding_links":["https://ko-fi.com/mazipan","https://mazipan.space/support"],"categories":["Index","G"],"sub_categories":["Games \u0026 Comics"],"readme":"# 🔴 The Unofficial GraphQL for PokeAPI\n\n\u003cp align=\"center\"\u003e\n\t\u003cimg height=\"200\" src=\"https://raw.githubusercontent.com/PokeAPI/media/master/logo/pokeapi.svg?sanitize=true\" alt=\"PokeAPI\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\t\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs Welcome\"\u003e\n\t\u003cimg src=\"https://img.shields.io/website?url=https%3A%2F%2Fgraphql-pokeapi.vercel.app\u0026cacheSeconds=86400\" alt=\"Wesite Up\"\u003e\n\t\u003cimg src=\"https://github.com/mazipan/graphql-pokeapi/workflows/Build%20UI/badge.svg\" alt=\"Actions\"\u003e\n\u003c/p\u003e\n\n![Playground Screenshot](public/screenshot.png)\n\n## Homepage\n\n[https://graphql-pokeapi.vercel.app](https://graphql-pokeapi.vercel.app)\n\n## Deploy on Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmazipan%2Fgraphql-pokeapi)\n\n## Endpoint\n\n- GraphCDN (with caching): https://graphql-pokeapi.graphcdn.app\n- Origin: https://graphql-pokeapi.vercel.app/api/graphql\n\n## Playground\n\n[https://graphql-pokeapi.vercel.app/api/graphql](https://graphql-pokeapi.vercel.app/api/graphql)\n\n## Applications\n\nIf you are using `graphql-pokeapi`, you can add your apps in our [awesome-list.md](awesome-list.md)\n\n## Sending Request Example\n\n- WIP - [Sending request using Fetch API - GET](examples/01-use-fetch-get.js)\n- [Sending request using Fetch API - POST](examples/02-use-fetch-post.js)\n- WIP - [Sending request using Apollo - GET](examples/03-use-apollo-get.js)\n- [Sending request using Apollo - POST](examples/04-use-apollo-post.js)\n\n## Queries\n\n| Query               | Desc                           | Variables         |\n| ------------------- | ------------------------------ | ----------------- |\n| `abilities`         | Get list of abilities          |                   |\n| `ability`           | Get detail of ability          | `ability`         |\n| `berries`           | Get list of berries            |                   |\n| `berry`             | Get detail of berry            | `berry`           |\n| `eggGroups`         | Get list of egg groups         |                   |\n| `eggGroup`          | Get detail of egg group        | `eggGroup`        |\n| `encounterMethods`  | Get list of encounterMethods   |                   |\n| `encounterMethod`   | Get detail of encounterMethod  | `encounterMethod` |\n| `evolutionChains`   | Get list of evolutionChains    |                   |\n| `evolutionChain`    | Get detail of evolutionChains  | `id`              |\n| `evolutionTriggers` | Get list of evolutionTriggers  |                   |\n| `evolutionTrigger`  | Get detail of evolutionTrigger | `name`            |\n| `genders`           | Get list of genders            |                   |\n| `gender`            | Get detail of gender           | `gender`          |\n| `growthRates`       | Get list of growth rates       |                   |\n| `growthRate`        | Get detail of growth rate      | `growthRate`      |\n| `locations`         | Get list of locations          |                   |\n| `location`          | Get detail of location         | `location`        |\n| `moves`             | Get list of moves              |                   |\n| `move`              | Get detail of move             | `move`            |\n| `natures`           | Get list of natures            |                   |\n| `nature`            | Get detail of nature           | `nature`          |\n| `pokemons`          | Get list of pokemons           | `limit`, `offset` |\n| `pokemon`           | Get detail info of pokemon     | `name`            |\n| `regions`           | Get list of regions            |                   |\n| `region`            | Get detail of region           | `region`          |\n| `species`           | Get list of species            |                   |\n| `types`             | Get list of types              |                   |\n\n## Query Examples\n\n### pokemons\n\nDesc: Get list of pokemons\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Query\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\nquery pokemons($limit: Int, $offset: Int) {\n  pokemons(limit: $limit, offset: $offset) {\n    count\n    next\n    previous\n    status\n    message\n    results {\n      url\n      name\n      image\n    }\n  }\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Variables\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\n{\n  \"limit\": 2,\n  \"offset\": 1\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Result\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\n{\n  \"data\": {\n    \"pokemons\": {\n      \"count\": 964,\n      \"next\": \"https://pokeapi.co/api/v2/pokemon/?offset=3\u0026limit=3\",\n      \"previous\": null,\n      \"results\": [\n        {\n          \"url\": \"https://pokeapi.co/api/v2/pokemon/1/\",\n          \"name\": \"bulbasaur\",\n          \"image\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png\"\n        },\n        {\n          \"url\": \"https://pokeapi.co/api/v2/pokemon/2/\",\n          \"name\": \"ivysaur\",\n          \"image\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/2.png\"\n        },\n        {\n          \"url\": \"https://pokeapi.co/api/v2/pokemon/3/\",\n          \"name\": \"venusaur\",\n          \"image\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/3.png\"\n        }\n      ],\n      \"status\": true,\n      \"message\": \"\"\n    }\n  }\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n### pokemon\n\nDesc: Get detail info of pokemon\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Query\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\nquery pokemon($name: String!) {\n  pokemon(name: $name) {\n    id\n    name\n    abilities {\n      ability {\n        name\n      }\n    }\n    moves {\n      move {\n        name\n      }\n    }\n    types {\n      type {\n        name\n      }\n    }\n    message\n    status\n  }\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Variables\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\n{\n  \"name\": \"ditto\"\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eSample Result\u003c/summary\u003e\n  \u003cp\u003e\n\n```js\n{\n  \"data\": {\n    \"pokemon\": {\n      \"id\": 132,\n      \"name\": \"ditto\",\n      \"abilities\": [\n        {\n          \"ability\": {\n            \"name\": \"imposter\"\n          }\n        },\n        {\n          \"ability\": {\n            \"name\": \"limber\"\n          }\n        }\n      ],\n      \"moves\": [\n        {\n          \"move\": {\n            \"name\": \"transform\"\n          }\n        }\n      ],\n      \"types\": [\n        {\n          \"type\": {\n            \"name\": \"normal\"\n          }\n        }\n      ],\n      \"message\": \"\",\n      \"status\": true\n    }\n  }\n}\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n## Credits\n\n- [PokeAPI](https://github.com/PokeAPI/pokeapi)\n- [Pokedex Promise V2](https://github.com/PokeAPI/pokedex-promise-v2#pokemon)\n- [Apollo Server Vercel](https://github.com/Saeris/apollo-server-vercel)\n- [Vercel](https://vercel.com/)\n- [JS Escaper Tool](https://www.freeformatter.com/javascript-escape.html#ad-output)\n\n## Contributors\n\nThanks goes to these wonderful people!\n\n![Contributors](https://contrib.rocks/image?repo=mazipan/graphql-pokeapi)\n\n---\n\nCopyright © By Irfan Maulana\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazipan%2Fgraphql-pokeapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazipan%2Fgraphql-pokeapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazipan%2Fgraphql-pokeapi/lists"}