{"action":"created","issue":{"url":"https://api.github.com/repos/ccpgames/esi-issues/issues/90","repository_url":"https://api.github.com/repos/ccpgames/esi-issues","labels_url":"https://api.github.com/repos/ccpgames/esi-issues/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/ccpgames/esi-issues/issues/90/comments","events_url":"https://api.github.com/repos/ccpgames/esi-issues/issues/90/events","html_url":"https://github.com/ccpgames/esi-issues/issues/90","id":189558777,"number":90,"title":"Market orders paginator","user":{"login":"georgwacker","id":13589801,"avatar_url":"https://avatars.githubusercontent.com/u/13589801?v=3","gravatar_id":"","url":"https://api.github.com/users/georgwacker","html_url":"https://github.com/georgwacker","followers_url":"https://api.github.com/users/georgwacker/followers","following_url":"https://api.github.com/users/georgwacker/following{/other_user}","gists_url":"https://api.github.com/users/georgwacker/gists{/gist_id}","starred_url":"https://api.github.com/users/georgwacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgwacker/subscriptions","organizations_url":"https://api.github.com/users/georgwacker/orgs","repos_url":"https://api.github.com/users/georgwacker/repos","events_url":"https://api.github.com/users/georgwacker/events{/privacy}","received_events_url":"https://api.github.com/users/georgwacker/received_events","type":"User","site_admin":false},"labels":[{"id":480078794,"url":"https://api.github.com/repos/ccpgames/esi-issues/labels/New","name":"New","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-11-16T01:41:30Z","updated_at":"2016-11-18T19:21:44Z","closed_at":null,"body":"Currently there is no way to tell how many pages /markets/region_id/orders/ will return, in CREST we had the next attribute to iterate over all the pages. \r\n\r\nIs it per design that one shall iterate blindly until 422 occurs?\r\n\r\nI would prefer the old method with an href to the next page, or perhaps a flag that the current page isn't the last one."},"comment":{"url":"https://api.github.com/repos/ccpgames/esi-issues/issues/comments/261618306","html_url":"https://github.com/ccpgames/esi-issues/issues/90#issuecomment-261618306","issue_url":"https://api.github.com/repos/ccpgames/esi-issues/issues/90","id":261618306,"user":{"login":"rottjr","id":20824145,"avatar_url":"https://avatars.githubusercontent.com/u/20824145?v=3","gravatar_id":"","url":"https://api.github.com/users/rottjr","html_url":"https://github.com/rottjr","followers_url":"https://api.github.com/users/rottjr/followers","following_url":"https://api.github.com/users/rottjr/following{/other_user}","gists_url":"https://api.github.com/users/rottjr/gists{/gist_id}","starred_url":"https://api.github.com/users/rottjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rottjr/subscriptions","organizations_url":"https://api.github.com/users/rottjr/orgs","repos_url":"https://api.github.com/users/rottjr/repos","events_url":"https://api.github.com/users/rottjr/events{/privacy}","received_events_url":"https://api.github.com/users/rottjr/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T19:21:44Z","updated_at":"2016-11-18T19:21:44Z","body":"So as I understand it we need to be making requests expected to have multiple pages of data with the <code>Accept-Encoding: gzip </code> and need to iterate through until we receive an empty list? This seems like anew inherent flaw, would it not beven just as efficient to provide a list of endpoints for each list? This would allow you to run all queries in parallel and even in async as well as allow you to pick and chose your pages if you would like. Seems you would be doing the same amount of queries except you wouldn't be making a query for blank info and you would be able to traverse or mass pull the data very easily."}}
{"actor":{"display_login":"rottjr"}}