diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 16:46:10 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-02-13 16:46:10 +0100 |
| commit | d0dc5cd83f1c436185d247600c3c5be9360bf1ca (patch) | |
| tree | 92db65b2a525b6512fd7f5349da561c476fe997e /scraper/client/actions.js | |
| parent | 1563d1da307a78ddc388483fd95a68a511e18048 (diff) | |
displaying more info about the papers
Diffstat (limited to 'scraper/client/actions.js')
| -rw-r--r-- | scraper/client/actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
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) } |
