Skip to content

🐶 Public GraphQL API for information about dog breeds.

License

Notifications You must be signed in to change notification settings

doocts/api.iiinu.io

Repository files navigation

Iiinu API

Iiinu GraphQL API

🐶 Public GraphQL API for information about dog breeds.

Stars Fork Issues Twitter Follow Twitter Follow

Writing queries

query {
  breeds(locale: "en", filter: "Shiba") {
    name
    description
    country {
      name
    }
  }
}

The above GraphQL query produces the following JSON response.

{
  "data": {
    "breeds": [
      {
        "name": "Shiba Inu",
        "description": "The Shiba Inu is a Japanese dog breed known for their spirited personality and distinctive appearance. They require exercise and socialization, and can be prone to genetic diseases such as hip dysplasia and progressive retinal atrophy. Breeders should screen for these conditions and potential owners should ask for health clearances.",
        "country": {
          "name": "Japan"
        }
      }
    ]
  }
}

Check out the GraphiQL to explore the schema and test out some queries.

Sort

Sort allows you to sort by the name in each language.

query {
  breeds(sort: "desc") {
    name
    description
  }
}

Stack

License

MIT


Powered by Doocts Inc

About

🐶 Public GraphQL API for information about dog breeds.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published