From d0dc5cd83f1c436185d247600c3c5be9360bf1ca Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 13 Feb 2019 16:46:10 +0100 Subject: displaying more info about the papers --- scraper/client/actions.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scraper/client/actions.js') diff --git a/scraper/client/actions.js b/scraper/client/actions.js index f281a34c..ee3511bc 100644 --- a/scraper/client/actions.js +++ b/scraper/client/actions.js @@ -18,6 +18,11 @@ export const getPapers = () => dispatch => { api(dispatch, get, 'papers', '/api/papers', {}) } +export const getPaperInfo = (key) => dispatch => { + api(dispatch, get, 'paperInfo', '/reports/datasets/final/' + key + '.json', {}) + api(dispatch, get, 'unknownCitations', '/reports/datasets/unknown/' + key + '.json', {}) +} + export const postAddress = data => dispatch => { api(dispatch, post, 'address', '/api/address', data) } -- cgit v1.2.3-70-g09d2