i dont get any 'api_url' in Json:
print str(response)
{'status_code': 100, 'auth_ticket': {'expire_timestamp_ms': 1488136861210L, 'start': '6ORYDTfGNMUTZPCpnXIeIDsYsbpjqqIhHA+n250OlD4RteKMJIuthnDp6gk5bdJPUldo6hWhqaZqlZButjq/vr1Rbki4DSfpkYw08brFts4=', 'end': 'Ul+Gz0A7WXBCwHonpEaPig=='}, 'responses': {}, 'request_id': 804160678167908225L}
Login failed[ptc] - unexpected server response!
pgoapi.py
if 'api_url' in response:
i dont get any 'api_url' in Json: print str(response) {'status_code': 100, 'auth_ticket': {'expire_timestamp_ms': 1488136861210L, 'start': '6ORYDTfGNMUTZPCpnXIeIDsYsbpjqqIhHA+n250OlD4RteKMJIuthnDp6gk5bdJPUldo6hWhqaZqlZButjq/vr1Rbki4DSfpkYw08brFts4=', 'end': 'Ul+Gz0A7WXBCwHonpEaPig=='}, 'responses': {}, 'request_id': 804160678167908225L}