{"action":"created","issue":{"url":"https://api.github.com/repos/spotify/web-api/issues/116","labels_url":"https://api.github.com/repos/spotify/web-api/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/spotify/web-api/issues/116/comments","events_url":"https://api.github.com/repos/spotify/web-api/issues/116/events","html_url":"https://github.com/spotify/web-api/issues/116","id":109310270,"number":116,"title":"documentation of api limits?","user":{"login":"digitaldesaster","id":5052997,"avatar_url":"https://avatars.githubusercontent.com/u/5052997?v=3","gravatar_id":"","url":"https://api.github.com/users/digitaldesaster","html_url":"https://github.com/digitaldesaster","followers_url":"https://api.github.com/users/digitaldesaster/followers","following_url":"https://api.github.com/users/digitaldesaster/following{/other_user}","gists_url":"https://api.github.com/users/digitaldesaster/gists{/gist_id}","starred_url":"https://api.github.com/users/digitaldesaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitaldesaster/subscriptions","organizations_url":"https://api.github.com/users/digitaldesaster/orgs","repos_url":"https://api.github.com/users/digitaldesaster/repos","events_url":"https://api.github.com/users/digitaldesaster/events{/privacy}","received_events_url":"https://api.github.com/users/digitaldesaster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T14:23:03Z","updated_at":"2015-10-01T14:33:59Z","closed_at":null,"body":"Hi, \r\n\r\nmy app has a function to sync all users \"saved tracks\" to display them as songs, albums, artists. \r\nhttps://api.spotify.com/v1/me/tracks\r\n\r\none user reported a problem that he has issues while syncing about 5000 songs.\r\nthe limit field of me/tracks request must be <= 50\r\n\r\nso i need 100 api calls to fetch these 5000 songs. \r\n\r\ni wonder if there is any documentation regarding api limits. if so, i could update my app to pause after x requests and wait some seconds.\r\n\r\nany feedback is welcome\r\n\r\nbest regards\r\nAlex\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spotify/web-api/issues/comments/144746533","html_url":"https://github.com/spotify/web-api/issues/116#issuecomment-144746533","issue_url":"https://api.github.com/repos/spotify/web-api/issues/116","id":144746533,"user":{"login":"thelinmichael","id":714409,"avatar_url":"https://avatars.githubusercontent.com/u/714409?v=3","gravatar_id":"","url":"https://api.github.com/users/thelinmichael","html_url":"https://github.com/thelinmichael","followers_url":"https://api.github.com/users/thelinmichael/followers","following_url":"https://api.github.com/users/thelinmichael/following{/other_user}","gists_url":"https://api.github.com/users/thelinmichael/gists{/gist_id}","starred_url":"https://api.github.com/users/thelinmichael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelinmichael/subscriptions","organizations_url":"https://api.github.com/users/thelinmichael/orgs","repos_url":"https://api.github.com/users/thelinmichael/repos","events_url":"https://api.github.com/users/thelinmichael/events{/privacy}","received_events_url":"https://api.github.com/users/thelinmichael/received_events","type":"User","site_admin":false},"created_at":"2015-10-01T14:33:59Z","updated_at":"2015-10-01T14:33:59Z","body":"Hi @digitaldesaster! I recommend adding some artificial slowness to your application so that it makes less intense request bursts. As I'm sure you've noticed a rate limited request gets a `429 Too Many Requests` response. I recommend that you try to use the `Retry-After` header included in that response, since that includes the number of seconds you need to wait until making the next request. We've written some, but admittedly not a lot, documentation on rate limiting, you'll find it in the [User Guide](https://developer.spotify.com/web-api/user-guide/#rate-limiting)."}}