Closed ztukaz closed 8 years ago
bomb = api.catch_pokemon(...) print ('\n\r{}'.format(pprint.PrettyPrinter(indent=1).pformat(bomb)))
results: <pgoapi.pgoapi.PGoApi instance at 0x02D41148>
<pgoapi.pgoapi.PGoApi instance at 0x02D41148>
expected something like "responses": { "CATCH_POKEMON": { status: CATCH_SUCCESS } }
"responses": { "CATCH_POKEMON": { status: CATCH_SUCCESS } }
Catch Response: status: CATCH_FAILED
What i am missing to decode the results of the method?
You're actually trying to print the api object (and you never send your request to the server). However you want your response from the server. Try to print bomb.call()
bomb.call()
Thank you
results:
<pgoapi.pgoapi.PGoApi instance at 0x02D41148>
expected something like
"responses": { "CATCH_POKEMON": { status: CATCH_SUCCESS } }
What i am missing to decode the results of the method?