Fetch JSON from a REST API in an Android app using Kotlin coroutines in just a few lines of code.
Upload a file or POST form data to a server from a Kotlin JVM or Android app.
Configure custom timeouts and HTTP interceptors for all requests in your app from a single place.
Replace a verbose OkHttp setup in an existing Android project with Fuel for cleaner, more readable network code.
Add one Gradle dependency and you can make requests immediately, no extra configuration needed for R8.
Fuel is a Kotlin library for making HTTP network requests. When an Android or JVM app needs to call a web API, fetch a file, or send data to a server, it needs an HTTP client to handle the connection details. Fuel is designed to make that as simple as possible by wrapping the underlying mechanics into a clean, readable API. The library is built on top of Kotlin coroutines, which are a way of writing code that waits for network responses without blocking the rest of the app. In practice, this means you can write a network call in a few lines that reads almost like plain instructions: get this URL, read the body as a string, use the result. Setup follows standard Android dependency management: add the library to your Gradle build file and you can start making requests immediately. Under the hood, Fuel uses OkHttp on JVM and Android, and the platform networking layer on Apple targets, so the actual connection handling is delegated to well-tested foundations. Custom configuration is available if you need to set timeouts, interceptors, or other HTTP client options. The library requires Android 5 or later and Java 8 or later on JVM. It is compatible with R8, the code shrinker used in Android release builds, without needing extra configuration. If you use the older Proguard tool, some additional rules may be needed depending on which optional modules you include. Fuel is released under the MIT license. It was created by the same author as several related Kotlin utilities, including libraries for result modeling, caching, and JSON parsing.
← kittinunf on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.