Comments (9)
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.
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.
try:
api.get_player_profile(player_name = "foo").call()
from pgoapi.
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.
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.
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.
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.
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.
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)
- Is it possible to get rid from ctypes usage?
- Google auth via token HOT 1
- [question] Team choice HOT 2
- Wrong disappear time HOT 1
- get_gym_details problem HOT 1
- failed execution/traceback after valid login.
- self.device_info in rpc_api.py
- EmptySubrequestChainException HOT 1
- ignore HOT 1
- How to determine the level of PokeGym? HOT 1
- get_map_objects do not find anything
- Gen 2 Pokemon needs to be updated
- Changed the request mode?
- Login failed
- Request throttled by server
- python
- Help on other API HOT 2
- Tejado
- Organization
- G
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgoapi.