L
L
lahomie932018-07-21 14:03:05
Android
lahomie93, 2018-07-21 14:03:05

Retrofit and GSON. Is it possible to query individual properties?

Hello. I'm developing a client-server application that makes API calls to: https://pokeapi.co/api/v2/pokemon/12/ I only need 10 properties from this API. Is it possible to write a query so that I get only 10 properties from JSON, and not the whole JSON?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Egorov, 2018-07-21
@lahomie93

No, if the API does not provide such an option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question