{"action":"opened","issue":{"url":"https://api.github.com/repos/slidewinder/open_access_figures/issues/2","labels_url":"https://api.github.com/repos/slidewinder/open_access_figures/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/slidewinder/open_access_figures/issues/2/comments","events_url":"https://api.github.com/repos/slidewinder/open_access_figures/issues/2/events","html_url":"https://github.com/slidewinder/open_access_figures/issues/2","id":127029654,"number":2,"title":"Europe PubMedCentral API","user":{"login":"Blahah","id":836040,"avatar_url":"https://avatars.githubusercontent.com/u/836040?v=3","gravatar_id":"","url":"https://api.github.com/users/Blahah","html_url":"https://github.com/Blahah","followers_url":"https://api.github.com/users/Blahah/followers","following_url":"https://api.github.com/users/Blahah/following{/other_user}","gists_url":"https://api.github.com/users/Blahah/gists{/gist_id}","starred_url":"https://api.github.com/users/Blahah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blahah/subscriptions","organizations_url":"https://api.github.com/users/Blahah/orgs","repos_url":"https://api.github.com/users/Blahah/repos","events_url":"https://api.github.com/users/Blahah/events{/privacy}","received_events_url":"https://api.github.com/users/Blahah/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slidewinder/open_access_figures/labels/data%20source","name":"data source","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-16T14:46:51Z","updated_at":"2016-01-16T14:46:51Z","closed_at":null,"body":"The EUPMC API provides fulltextXML in JATS format, as well as zipped 'supplementary files' which in my experience include full-sized figure images.\r\n\r\nThe only way to access the files is via the zipped archive, meaning we can't simply refer out to an external image to show previews during search results - we'll have to pull the data and extract it.\r\n\r\nEasy to get with [getpapers](https://github.com/ContentMine/getpapers):\r\n\r\n```\r\ngetpapers --query 'some query' --xml --supp --outdir somedir\r\n```"}}