{"action":"opened","issue":{"url":"https://api.github.com/repos/JasonBarnabe/greasyfork/issues/348","labels_url":"https://api.github.com/repos/JasonBarnabe/greasyfork/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/JasonBarnabe/greasyfork/issues/348/comments","events_url":"https://api.github.com/repos/JasonBarnabe/greasyfork/issues/348/events","html_url":"https://github.com/JasonBarnabe/greasyfork/issues/348","id":63869169,"number":348,"title":"Extension of the API (overall number of results)","user":{"login":"Ede123","id":904570,"avatar_url":"https://avatars.githubusercontent.com/u/904570?v=3","gravatar_id":"","url":"https://api.github.com/users/Ede123","html_url":"https://github.com/Ede123","followers_url":"https://api.github.com/users/Ede123/followers","following_url":"https://api.github.com/users/Ede123/following{/other_user}","gists_url":"https://api.github.com/users/Ede123/gists{/gist_id}","starred_url":"https://api.github.com/users/Ede123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ede123/subscriptions","organizations_url":"https://api.github.com/users/Ede123/orgs","repos_url":"https://api.github.com/users/Ede123/repos","events_url":"https://api.github.com/users/Ede123/events{/privacy}","received_events_url":"https://api.github.com/users/Ede123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-24T00:56:01Z","updated_at":"2015-03-24T00:56:01Z","closed_at":null,"body":"Currently there's the possibility to fetch collections, e.g. in JSON format:\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json\r\nThis request returns 50 scripts.\r\n\r\nHowever a look at\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com\r\nshows that there are actually 4 pages of scripts with a total of 152 scripts at the time of this writing.\r\n\r\nActually it's possible to fetch all the scripts with\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json?page=1 (?page=1 can be omitted)\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json?page=2\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json?page=3\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json?page=4\r\nbut how should one now for how many pages one has to query? It's surely possible to query up to\r\nhttps://greasyfork.org/en/scripts/by-site/youtube.com.json?page=5\r\nwhich will return an empty set, but this does not seem like an elegant approach.\r\n\r\nQuestion would therefore be if it was (reasonably) possible to\r\n\r\n1. add another request (e.g. https://greasyfork.org/en/scripts/by-site/youtube.com.json?list) that returns the overall number of scripts / pages and maybe all IDs (but nothing more).\r\n2. And/or offer a possibility to download _all_ scripts via an API request in one go instead of splitting them into multiple pages?"}}