Giter Club home page Giter Club logo

Comments (9)

ztukaz avatar ztukaz commented on July 20, 2024

I think it's related to gym info, not player info.
So maybe you can't get by name, but by gyms. But moving toward world gym you risk a ban because of the strange movement of the player...

from pgoapi.

colinfwren avatar colinfwren commented on July 20, 2024

Sorry for the delay, I was on holiday so was unable to respond. Looking at https://github.com/AeonLucid/POGOProtos/blob/master/src/POGOProtos/Networking/Requests/Messages/GetPlayerProfileMessage.proto I should be able to send over the name of the player I want to get data on.

However when I do the following:
api.get_player(player_name="foo").call() it always returns the currently logged in players information.

Would this be an issue of the .proto file having the wrong mapping or the way that pgoapi is handling the mapping the call the POGOProtos.Networking.Requests.Messages.GetPlayerProfileMessage? The log shows it's calling the RPC call with arguments

INFO:__main__:Adding 'GET_PLAYER_PROFILE' to RPC request including arguments

from pgoapi.

tejado avatar tejado commented on July 20, 2024

try:

api.get_player_profile(player_name = "foo").call()

from pgoapi.

earthchie avatar earthchie commented on July 20, 2024

wanna know too.

get_player_profile works but in my case I want to access thier inventory.

Can I use: https://developers.google.com/api-client-library/javascript/features/authentication
Then set the session token to the api?

from pgoapi.

tejado avatar tejado commented on July 20, 2024

As far as I know, it isn't possible to retrieve the inventory of another player.

Don't know if this is possible with the js lib from google.

from pgoapi.

elliottcarlson avatar elliottcarlson commented on July 20, 2024

It should be possible to use that library to retrieve a JWT that is usable
in the API auth, it provides the added benefit of not receiving the users
credentials. The authentication routine would need to be modified to allow
passing in a pre-authorized JWT though.

On Jul 28, 2016 9:46 AM, "tjado" [email protected] wrote:

As far as I know, it isn't possible to retrieve the inventory of another
player.

Don't know if this is possible with the js lib from google.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#80 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AANYSBGtDl2ZpCCokTGiof58Iy6A9_Hhks5qaLK5gaJpZM4JSqic
.

from pgoapi.

tejado avatar tejado commented on July 20, 2024

I assume that the posted JS library doesnt support this kind of login to google.
Please have a look to https://github.com/simon-weber/gpsoauth

from pgoapi.

pogoman3 avatar pogoman3 commented on July 20, 2024

get_player_profile works but in my case I want to access thier inventory

@earthchie Were you able to use get_player_profile to view another player's badges and start time? If so, mind please sharing what proto fields you used in the request? In my experience it will only show you your own badges.

from pgoapi.

earthchie avatar earthchie commented on July 20, 2024

Edit: Oh. you're right. I tried to change player name to my secondary account and it still return exact same info.

it always returns the currently logged in players information.

from pgoapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.