PokeGOAPI-Java icon indicating copy to clipboard operation
PokeGOAPI-Java copied to clipboard

How to refresh data without recreating another client?

Open mortyccp opened this issue 10 years ago • 2 comments

I need to refresh data to fetch the latest pokemon, and I can't find any api to do refresh data apart from recreating the client with the same credential provider. Is there any way to do that?

mortyccp avatar Aug 09 '16 01:08 mortyccp

Don't know what you want exactly but maybe: Inventory: go.getInventories().updateInventories(true); Catchable: go.getMap().getCatchablePokemon();

DrakeSharp avatar Aug 09 '16 09:08 DrakeSharp

Thank you. updateInventories is what I am looking for.

mortyccp avatar Aug 09 '16 09:08 mortyccp