All Projects → mazipan → graphql-pokeapi

mazipan / graphql-pokeapi

Licence: MIT license
🔴 The Unofficial GraphQL for PokeAPI

Programming Languages

javascript
184084 projects - #8 most used programming language
EJS
674 projects
CSS
56736 projects

Projects that are alternatives of or similar to graphql-pokeapi

Graphql Spqr Spring Boot Starter
Spring Boot 2 starter powered by GraphQL SPQR
Stars: ✭ 187 (+36.5%)
Mutual labels:  graphql-api
pokedex
A simple Pokémon catalogue, built with React, Material-UI and PokéAPI.
Stars: ✭ 115 (-16.06%)
Mutual labels:  pokeapi
DotNetGraphQL
A sample demonstrating how to create a GraphQL Backend in .NET and consume it from a .NET mobile app created using Xamarin
Stars: ✭ 78 (-43.07%)
Mutual labels:  graphql-api
Grial
A Node.js framework for creating GraphQL API servers easily and without a lot of boilerplate.
Stars: ✭ 194 (+41.61%)
Mutual labels:  graphql-api
Graphqlize
A Clojure & JVM library for developing GraphQL API instantly from Postgres and MySQL databases
Stars: ✭ 240 (+75.18%)
Mutual labels:  graphql-api
dex-next
Pokedex App using NextJS and TailwindCSS
Stars: ✭ 28 (-79.56%)
Mutual labels:  pokeapi
Graphql2rest
GraphQL to REST converter: automatically generate a RESTful API from your existing GraphQL API
Stars: ✭ 181 (+32.12%)
Mutual labels:  graphql-api
documentation-site
This repository contains source for TravelgateX documentation. TravelgateX is a collection of GraphQL APIs for the travel trade.
Stars: ✭ 17 (-87.59%)
Mutual labels:  graphql-api
api-data
Static JSON data from the API, plus a JSON Schema
Stars: ✭ 88 (-35.77%)
Mutual labels:  pokeapi
nextjs-ssr-isr-cdk-aws
🦄 ‏‏‎ ‎‏‏‎ ‎‏‏‎ ‎Next.js webapp using Server Side Rendering (SSR) and Incremental Static Regeneration (ISR) deployed with Serverless Nextjs CDK construct on AWS using CloudFront and Lambda@Edge
Stars: ✭ 78 (-43.07%)
Mutual labels:  pokeapi
Rails Devise Graphql
A Rails 6 boilerplate to create your next Saas product. Preloaded with graphQL, devise, JWT, CanCanCan, RailsAdmin, Rubocop, Rspec, i18n and more.
Stars: ✭ 199 (+45.26%)
Mutual labels:  graphql-api
Plugin Graphql
Vuex ORM persistence plugin to sync the store against a GraphQL API.
Stars: ✭ 215 (+56.93%)
Mutual labels:  graphql-api
pokeapi.co
The PokéAPI documentation website
Stars: ✭ 66 (-51.82%)
Mutual labels:  pokeapi
Aws Appsync React Workshop
Building real-time offline-ready Applications with React, GraphQL & AWS AppSync
Stars: ✭ 193 (+40.88%)
Mutual labels:  graphql-api
strapi-graphql-documentation
Collections of queries and mutations that hopefully help you in a Strapi project powered by GraphQL API 🚀
Stars: ✭ 45 (-67.15%)
Mutual labels:  graphql-api
Gqlify
[NOT MAINTAINED]An API integration framework using GraphQL
Stars: ✭ 182 (+32.85%)
Mutual labels:  graphql-api
pokenode-ts
A lightweight Node.js wrapper for the PokéAPI with built-in types.
Stars: ✭ 102 (-25.55%)
Mutual labels:  pokeapi
phpokeapi
A PHP7.1 Wrapper for PokéAPI, with cache and lazy-loading
Stars: ✭ 30 (-78.1%)
Mutual labels:  pokeapi
react-apollo-form
Build React forms based on GraphQL APIs.
Stars: ✭ 195 (+42.34%)
Mutual labels:  graphql-api
Pokeapi
The Pokémon API
Stars: ✭ 2,695 (+1867.15%)
Mutual labels:  pokeapi

🔴 The Unofficial GraphQL for PokeAPI

PokeAPI

PRs Welcome Wesite Up Actions Actions

Playground Screenshot

Homepage

https://graphql-pokeapi.vercel.app

Endpoint

Playground

https://graphql-pokeapi.vercel.app/api/graphql

Applications

If you are using graphql-pokeapi, you can add your apps in our awesome-list.md

Sending Request Example

Queries

Query Desc Variables
abilities Get list of abilities
ability Get detail of ability ability
berries Get list of berries
berry Get detail of berry berry
eggGroups Get list of egg groups
eggGroup Get detail of egg group eggGroup
encounterMethods Get list of encounterMethods
encounterMethod Get detail of encounterMethod encounterMethod
evolutionChains Get list of evolutionChains
evolutionChain Get detail of evolutionChains id
evolutionTriggers Get list of evolutionTriggers
evolutionTrigger Get detail of evolutionTrigger name
genders Get list of genders
gender Get detail of gender gender
growthRates Get list of growth rates
growthRate Get detail of growth rate growthRate
locations Get list of locations
location Get detail of location location
moves Get list of moves
move Get detail of move move
natures Get list of natures
nature Get detail of nature nature
pokemons Get list of pokemons limit, offset
pokemon Get detail info of pokemon name
regions Get list of regions
region Get detail of region region
species Get list of species
types Get list of types

Query Examples

pokemons

Desc: Get list of pokemons

Sample Query

query pokemons($limit: Int, $offset: Int) {
  pokemons(limit: $limit, offset: $offset) {
    count
    next
    previous
    status
    message
    results {
      url
      name
      image
    }
  }
}

Sample Variables

{
  "limit": 2,
  "offset": 1
}

Sample Result

{
  "data": {
    "pokemons": {
      "count": 964,
      "next": "https://pokeapi.co/api/v2/pokemon/?offset=3&limit=3",
      "previous": null,
      "results": [
        {
          "url": "https://pokeapi.co/api/v2/pokemon/1/",
          "name": "bulbasaur",
          "image": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/1.png"
        },
        {
          "url": "https://pokeapi.co/api/v2/pokemon/2/",
          "name": "ivysaur",
          "image": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/2.png"
        },
        {
          "url": "https://pokeapi.co/api/v2/pokemon/3/",
          "name": "venusaur",
          "image": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/3.png"
        }
      ],
      "status": true,
      "message": ""
    }
  }
}

pokemon

Desc: Get detail info of pokemon

Sample Query

query pokemon($name: String!) {
  pokemon(name: $name) {
    id
    name
    abilities {
      ability {
        name
      }
    }
    moves {
      move {
        name
      }
    }
    types {
      type {
        name
      }
    }
    message
    status
  }
}

Sample Variables

{
  "name": "ditto"
}

Sample Result

{
  "data": {
    "pokemon": {
      "id": 132,
      "name": "ditto",
      "abilities": [
        {
          "ability": {
            "name": "imposter"
          }
        },
        {
          "ability": {
            "name": "limber"
          }
        }
      ],
      "moves": [
        {
          "move": {
            "name": "transform"
          }
        }
      ],
      "types": [
        {
          "type": {
            "name": "normal"
          }
        }
      ],
      "message": "",
      "status": true
    }
  }
}

Credits


Copyright © By Irfan Maulana

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].