# API request in Android the easy way using Kotlin

DevFeed: [API request in Android the easy way using Kotlin](<https://devfeed.tech/articles/api-request-in-android-the-easy-way-using-kotlin-27134.md>)

Original publisher: [Read original article](<https://antonioleiva.com/api-request-kotlin>)

Published: 2015-07-21T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [API](<https://devfeed.tech/topics/api.md>), [Java](<https://devfeed.tech/topics/java.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [code](<https://devfeed.tech/tags/code.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-standard-library](<https://devfeed.tech/tags/kotlin-standard-library.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

A tutorial on making API requests in Android with Kotlin. It compares Kotlin and Java approaches for retrieving JSON, explains using Kotlin extension functions and transformations, and discusses asynchronous HTTP work to avoid blocking the Android main thread, including an Anko DSL example.

## Source excerpt

Everything Android, Kotlin and other random topics