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

Imitate official app behaviour

Open jabbink opened this issue 10 years ago • 7 comments

The official app often does requests like this

+ GetHatchedEggs, GetInventory, CheckAwardedBadges, DownloadSettings

Should we replicate this in the API or should be let users of the API do this per application?

Also, the official app requests map objects every 1-5(? correct number is in the reply of DownloadSettings afaik) seconds, replicate this in the API or let others figure this out?

jabbink avatar Jul 19 '16 14:07 jabbink

i think its better to let user the choice of which request they want to send, not all users would want to make multiple request like that, better make the minimum request.

vmarchaud avatar Jul 19 '16 14:07 vmarchaud

Do you think than they can choose to use this as a verification method to auto-ban people ?

adobeSlash avatar Jul 26 '16 20:07 adobeSlash

They can do whatever they want, actually there is more low low level stuff that doesnt have been cracked yet + nobody make call like official app does so they already know who is using a custom lib and who isnt. So yes, they can use this to ban account if they wanted to

vmarchaud avatar Jul 26 '16 20:07 vmarchaud

@vmarchaud I thought the whole idea of this issue was that we should try to imitate the official app so that they can't discern our app from the official one

Aphoh avatar Jul 26 '16 23:07 Aphoh

@Aphoh Actually, even if we wanted, it would be impossible since there a lot of fields of envelope that we doesnt even know what they are (talking about unknown6 for example), people had tried to understand what was these but at my knowledge, couldnt find anything.

PS : For me the whole issue is about choosing if we try to do this or not, like imply the question asked by jabbink :

Should we replicate this in the API or should be let users of the API do this per application?

vmarchaud avatar Jul 29 '16 20:07 vmarchaud

#667 this is on our list to combine these calls.

FabianTerhorst avatar Aug 25 '16 21:08 FabianTerhorst

667 speak about login flow, will you combine even other requests to mimic official app?

if so, better to add a note on 667?

ramarro123 avatar Aug 26 '16 05:08 ramarro123