Giter VIP home page Giter VIP logo

world-countries-graphql-api's Introduction

World Countries CircleCI dependencies Status

Make GraphQL requests to http://104.236.66.151:5000/graphql

Get information about countries using a GraphQL API

Simple GraphQL wrapper around REST Countries which acts as the source of data

Schema is available at World Countries Schema

  • Sample query

# Try to write your query here

# Try to write your query here

{

  countries(input:{

    regionalBlock: EU

  }){

    name

    nativeName

    demonym

    flag

    capital

    population

    latitude

    longitude

    translations{

      de

      es

      fr

      ja

      it

      br

      pt

    }

    languages{

      iso639_1

      iso639_2

      name

      nativeName

    }

    timezones

    currencies{

      code

      name

      symbol

    }

    topLevelDomain

    altSpellings

    region

    subregion

    area

    gini

    timezones

    borders

      alpha2Code

      alpha3Code

      callingCodes

      cioc

      numericCode

    regionalBlocs{

      acronym

      name

      otherAcronyms

      otherNames

    }

  }

}

world-countries-graphql-api's People

Contributors

arjunrao87 avatar

Watchers

 avatar  avatar

world-countries-graphql-api's Issues

Unable to connect from Digital Ocean

Not able to use Playground running on Digital Ocean

rror: getaddrinfo ENOTFOUND restcountries.eu restcountries.eu:443
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
Error: getaddrinfo ENOTFOUND restcountries.eu restcountries.eu:443
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.