#What is (in your opinion) the best library to design API wrapper?

6 messages · Page 1 of 1 (latest)

naive whale
#

I found retrofit quite nice, but i heard there are other great libs. Are there any personal recommendations?

sacred siren
#

The HttpClient which is available in the standard libraries is useful as well

final robin
#

I’m working with OkHttp and it’s very nice

pliant nimbus
#

Yeah I have to agree with dan, it's pretty simple to make a wrapper library for an API using just HttpClient

#

and then the benefit is that everyone who knows the standard library, knows exactly how your wrapper works

pliant nimbus
#

especially nowadays where most APIs are authenticated via a simple header token, which is super trivial to set up in pretty much any http library