{"action":"created","issue":{"url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/114","labels_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/114/comments","events_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/114/events","html_url":"https://github.com/XeroAPI/Xero-Net/pull/114","id":108981306,"number":114,"title":"Rate limiter","user":{"login":"MatthewSteeples","id":255971,"avatar_url":"https://avatars.githubusercontent.com/u/255971?v=3","gravatar_id":"","url":"https://api.github.com/users/MatthewSteeples","html_url":"https://github.com/MatthewSteeples","followers_url":"https://api.github.com/users/MatthewSteeples/followers","following_url":"https://api.github.com/users/MatthewSteeples/following{/other_user}","gists_url":"https://api.github.com/users/MatthewSteeples/gists{/gist_id}","starred_url":"https://api.github.com/users/MatthewSteeples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatthewSteeples/subscriptions","organizations_url":"https://api.github.com/users/MatthewSteeples/orgs","repos_url":"https://api.github.com/users/MatthewSteeples/repos","events_url":"https://api.github.com/users/MatthewSteeples/events{/privacy}","received_events_url":"https://api.github.com/users/MatthewSteeples/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-29T23:36:22Z","updated_at":"2015-10-20T22:40:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/XeroAPI/Xero-Net/pulls/114","html_url":"https://github.com/XeroAPI/Xero-Net/pull/114","diff_url":"https://github.com/XeroAPI/Xero-Net/pull/114.diff","patch_url":"https://github.com/XeroAPI/Xero-Net/pull/114.patch"},"body":"The API enforces that no more than 60 requests can be made over a 60 second period. It's useful to have the option for the API to handle that if you are making lots of requests, as the delay can be more convenient than the exception and retrying.\r\n\r\nNote that this would also work for the daily limit, but would probably need refactoring so that you'd know to not block for many hours.\r\n\r\nHappy to make any modifications based on feedback, but this is a feature we'd really like to see in the core wrapper."},"comment":{"url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/comments/149722942","html_url":"https://github.com/XeroAPI/Xero-Net/pull/114#issuecomment-149722942","issue_url":"https://api.github.com/repos/XeroAPI/Xero-Net/issues/114","id":149722942,"user":{"login":"MJMortimer","id":5070575,"avatar_url":"https://avatars.githubusercontent.com/u/5070575?v=3","gravatar_id":"","url":"https://api.github.com/users/MJMortimer","html_url":"https://github.com/MJMortimer","followers_url":"https://api.github.com/users/MJMortimer/followers","following_url":"https://api.github.com/users/MJMortimer/following{/other_user}","gists_url":"https://api.github.com/users/MJMortimer/gists{/gist_id}","starred_url":"https://api.github.com/users/MJMortimer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJMortimer/subscriptions","organizations_url":"https://api.github.com/users/MJMortimer/orgs","repos_url":"https://api.github.com/users/MJMortimer/repos","events_url":"https://api.github.com/users/MJMortimer/events{/privacy}","received_events_url":"https://api.github.com/users/MJMortimer/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T22:40:21Z","updated_at":"2015-10-20T22:40:21Z","body":"Looks good to me. We'll want to add the option to include the rate limiter when setting up the example application classes in the examples project, but I'll do that for us. Thanks again for this"}}