{"action":"created","issue":{"url":"https://api.github.com/repos/geopy/geopy/issues/99","labels_url":"https://api.github.com/repos/geopy/geopy/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/geopy/geopy/issues/99/comments","events_url":"https://api.github.com/repos/geopy/geopy/issues/99/events","html_url":"https://github.com/geopy/geopy/issues/99","id":53783996,"number":99,"title":"Geocoding Queue That Respects Rate Limits?","user":{"login":"jackmaney","id":1554625,"avatar_url":"https://avatars.githubusercontent.com/u/1554625?v=3","gravatar_id":"","url":"https://api.github.com/users/jackmaney","html_url":"https://github.com/jackmaney","followers_url":"https://api.github.com/users/jackmaney/followers","following_url":"https://api.github.com/users/jackmaney/following{/other_user}","gists_url":"https://api.github.com/users/jackmaney/gists{/gist_id}","starred_url":"https://api.github.com/users/jackmaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackmaney/subscriptions","organizations_url":"https://api.github.com/users/jackmaney/orgs","repos_url":"https://api.github.com/users/jackmaney/repos","events_url":"https://api.github.com/users/jackmaney/events{/privacy}","received_events_url":"https://api.github.com/users/jackmaney/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-08T18:32:33Z","updated_at":"2015-01-09T16:29:34Z","closed_at":null,"body":"First of all, I *love* this package. Many thanks to the contributors and maintainers.\r\n\r\nWhile using it, I've found myself building a [simple wrapper class](https://gist.github.com/jackmaney/4a98cfdfef61e1d5a097) that geocodes a list of addresses and enforces a per-second rate limit (the actual version that I'm using has a few more bells and whistles, but this is the basic idea). The resulting object takes a `geocoder` object and uses the geopy api (namely calling a `geocode` method on the `geocoder` and passing in an address from the given list).\r\n\r\nWould a pull request to add such a class be welcome?"},"comment":{"url":"https://api.github.com/repos/geopy/geopy/issues/comments/69358515","html_url":"https://github.com/geopy/geopy/issues/99#issuecomment-69358515","issue_url":"https://api.github.com/repos/geopy/geopy/issues/99","id":69358515,"user":{"login":"ijl","id":1977222,"avatar_url":"https://avatars.githubusercontent.com/u/1977222?v=3","gravatar_id":"","url":"https://api.github.com/users/ijl","html_url":"https://github.com/ijl","followers_url":"https://api.github.com/users/ijl/followers","following_url":"https://api.github.com/users/ijl/following{/other_user}","gists_url":"https://api.github.com/users/ijl/gists{/gist_id}","starred_url":"https://api.github.com/users/ijl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijl/subscriptions","organizations_url":"https://api.github.com/users/ijl/orgs","repos_url":"https://api.github.com/users/ijl/repos","events_url":"https://api.github.com/users/ijl/events{/privacy}","received_events_url":"https://api.github.com/users/ijl/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T16:29:34Z","updated_at":"2015-01-09T16:29:34Z","body":"@jackmaney, now that there's a package, if you'd like to document your its availability and use in geopy, that'd be welcome. It looks quite useful.\r\n\r\nBy the way, if I rewrote the geocoders from scratch, I'd think creating composable request, rate limit, and serialization objects on the geocoders would work better than the current template approach. That may not quite work with the wrapper approach, but would solve some issues such as not being able to choose whether you use, e.g., urllib or requests."}}