{"action":"opened","issue":{"url":"https://api.github.com/repos/googlemaps/google-maps-services-python/issues/201","repository_url":"https://api.github.com/repos/googlemaps/google-maps-services-python","labels_url":"https://api.github.com/repos/googlemaps/google-maps-services-python/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-python/issues/201/comments","events_url":"https://api.github.com/repos/googlemaps/google-maps-services-python/issues/201/events","html_url":"https://github.com/googlemaps/google-maps-services-python/issues/201","id":260547898,"number":201,"title":"how to reload client","user":{"login":"LukaszKowalski2013","id":13330298,"avatar_url":"https://avatars0.githubusercontent.com/u/13330298?v=4","gravatar_id":"","url":"https://api.github.com/users/LukaszKowalski2013","html_url":"https://github.com/LukaszKowalski2013","followers_url":"https://api.github.com/users/LukaszKowalski2013/followers","following_url":"https://api.github.com/users/LukaszKowalski2013/following{/other_user}","gists_url":"https://api.github.com/users/LukaszKowalski2013/gists{/gist_id}","starred_url":"https://api.github.com/users/LukaszKowalski2013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukaszKowalski2013/subscriptions","organizations_url":"https://api.github.com/users/LukaszKowalski2013/orgs","repos_url":"https://api.github.com/users/LukaszKowalski2013/repos","events_url":"https://api.github.com/users/LukaszKowalski2013/events{/privacy}","received_events_url":"https://api.github.com/users/LukaszKowalski2013/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-26T09:08:51Z","updated_at":"2017-09-26T09:08:51Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI wrote a program, where I ask make many requests, for commercial version of google maps API. I need around 40 000 requests in for loop.\r\n\r\n'gmaps.distance_matrix(myDestination, myOrigin, mode=\"driving\", units=\"metric\",\r\n                                                    departure_time=datetime.datetime(2017, 11, 11, hour, minutes),\r\n                                                    traffic_model=\"pessimistic\" )'\r\n\r\nAfter some number of requests I got key_error, because return json is from standard version, and there is no traffic model option.\r\n\r\nI tried to implement time.sleep(3) function, but it doesn't work - it is waiting all the time and further tries don't work. Only if I restart my program and run it once again it gives me more responses.\r\n\r\nHow to ask client to log off and log in once again, or wait efficiently?\r\n\r\nCheers,\r\nLukasz"}}
{"actor":{"display_login":"LukaszKowalski2013"}}