Clean Architecture Masterclass

Clean Architecture MasterclassMay 28-29

Join

Apollo Client

Discourse Slack

OSS Snapshots Apollo Preview Maven Central

Revved up by Develocity

โ˜‘๏ธ Apollo Clients User Survey
What do you like best about Apollo Kotlin? What needs to be improved? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.

๐Ÿš€ Apollo Kotlin

Apollo Kotlin is a strongly typed GraphQL client that generates Kotlin models for your GraphQL operations.

Apollo Kotlin executes operations against a GraphQL server and returns results as operation-specific Kotlin types. This means you don't have to deal with parsing JSON, or passing around Maps and making clients cast values to the right type manually. You also don't have to write model types yourself, because these are generated from the GraphQL definitions your app uses.

Because generated types are operation-specific, you can only access data that you actually specify as part of an operation. If you don't ask for a particular field in an operation, you can't access the corresponding property on the returned data structure.

This library is designed with Android in mind, but you can use it in any Kotlin application, including KMP (Kotlin Multi Platform).

Apollo Kotlin aims to comply with the Working Draft of the GraphQL specification.

๐Ÿ“š Documentation

All Apollo Kotlin documentation, including caching and helpful recipes, can be found at:
https://www.apollographql.com/docs/kotlin/

The Apollo Kotlin API reference can be found at:
https://apollographql.github.io/apollo-kotlin/kdoc/

Tutorials can be found in the Odyssey learning platform: part1, part2.

๐Ÿ‘จโ€๐Ÿ’ป Who is Apollo?

Apollo builds open-source tools and commercial services to make application development easier, better, and accessible to more people. We help you ship faster with:

๐ŸŽ“ Learn how to build with Apollo

Check out the Odyssey learning platform, the perfect place to start your GraphQL journey with videos and interactive code challenges. Join the Apollo Community to interact with and get technical help from the GraphQL community.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.