Skip to content

Latest commit

 

History

History
 
 

GraphQL

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

GraphQL on Android-Basic

GraphQL APIs have become an alternative for some REST APIs now because of their advantages. This project is one of the basic example of how to consume a GraphQL API on android client using Retrofit. This project consumes the v4 of Github API which is a GraphQL API.
Documentation: https://developer.github.com/v4/
It does not contain any graphql client sdk its just for understanding the basic queries like shown as below:

query {
  repository(owner:"jakewharton", name:"butterknife") {
    name
    description
    forkCount
    url
  }
}

The result of the above query is shown below:

Screenshots: