I decided to implement a separate parity to the synchronous client with the same method signatures but returns Observable<..> instead as I wasn't sure if you would prefer this route over a single PokeApiClient route where the methods look something like this:
fun getBerryList(offset: Int, limit: Int): NamedApiResourceList
fun observeBerryList(offset: Int, limit: Int): Observable<NamedApiResourceList>
I thought it cleaner to do separate clients with duplicate method signatures. I am happy to do it either way.
Issue https://github.com/PokeAPI/pokekotlin/issues/59
Added RxJava based API client.
I decided to implement a separate parity to the synchronous client with the same method signatures but returns
Observable<..>
instead as I wasn't sure if you would prefer this route over a singlePokeApiClient
route where the methods look something like this:I thought it cleaner to do separate clients with duplicate method signatures. I am happy to do it either way.