{"action":"created","issue":{"url":"https://api.github.com/repos/metacpan/metacpan-client/issues/30","repository_url":"https://api.github.com/repos/metacpan/metacpan-client","labels_url":"https://api.github.com/repos/metacpan/metacpan-client/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/metacpan/metacpan-client/issues/30/comments","events_url":"https://api.github.com/repos/metacpan/metacpan-client/issues/30/events","html_url":"https://github.com/metacpan/metacpan-client/issues/30","id":62994956,"number":30,"title":"List of the files in a given distribution?","user":{"login":"szabgab","id":48833,"avatar_url":"https://avatars.githubusercontent.com/u/48833?v=3","gravatar_id":"","url":"https://api.github.com/users/szabgab","html_url":"https://github.com/szabgab","followers_url":"https://api.github.com/users/szabgab/followers","following_url":"https://api.github.com/users/szabgab/following{/other_user}","gists_url":"https://api.github.com/users/szabgab/gists{/gist_id}","starred_url":"https://api.github.com/users/szabgab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szabgab/subscriptions","organizations_url":"https://api.github.com/users/szabgab/orgs","repos_url":"https://api.github.com/users/szabgab/repos","events_url":"https://api.github.com/users/szabgab/events{/privacy}","received_events_url":"https://api.github.com/users/szabgab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-03-19T13:57:29Z","updated_at":"2016-08-06T07:00:14Z","closed_at":"2016-08-06T07:00:14Z","body":"Is there an easy way to fetch that list?\r\nCan I fetch the list of modules in a distro?\r\nCan I fetch the list of files with POD in a distro?"},"comment":{"url":"https://api.github.com/repos/metacpan/metacpan-client/issues/comments/238009732","html_url":"https://github.com/metacpan/metacpan-client/issues/30#issuecomment-238009732","issue_url":"https://api.github.com/repos/metacpan/metacpan-client/issues/30","id":238009732,"user":{"login":"mickeyn","id":3648710,"avatar_url":"https://avatars.githubusercontent.com/u/3648710?v=3","gravatar_id":"","url":"https://api.github.com/users/mickeyn","html_url":"https://github.com/mickeyn","followers_url":"https://api.github.com/users/mickeyn/followers","following_url":"https://api.github.com/users/mickeyn/following{/other_user}","gists_url":"https://api.github.com/users/mickeyn/gists{/gist_id}","starred_url":"https://api.github.com/users/mickeyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickeyn/subscriptions","organizations_url":"https://api.github.com/users/mickeyn/orgs","repos_url":"https://api.github.com/users/mickeyn/repos","events_url":"https://api.github.com/users/mickeyn/events{/privacy}","received_events_url":"https://api.github.com/users/mickeyn/received_events","type":"User","site_admin":false},"created_at":"2016-08-06T07:00:14Z","updated_at":"2016-08-06T07:00:14Z","body":"sorry for the very late response, not sure why I didn't see this one before:\r\n\r\nyou can do something like that for `files in release` and the subset `files with pod`:\r\n\r\n```perl\r\nmy $mcpan = MetaCPAN::Client->new( version => 'v1' );\r\nmy $files = $mcpan->file({ release => 'MetaCPAN-Client-1.000000' });\r\nwhile ( my $f = $files->next ) {\r\n    my $pod = $f->pod;\r\n\r\n    ...\r\n}\r\n```\r\n\r\nFor modules, you can do something like:\r\n```perl\r\nmy $release = $mcpan->release({ name => 'MetaCPAN-Client-1.000000' });\r\nmy $modules = $release->next->provides;\r\n```\r\n\r\nHTH\r\n\r\n(closing as this is an old issue, feel free to reopen if you need to)"}}
{"actor":{"display_login":"mickeyn"}}