A figshare module is needed to retrieve Figshare metadata from its API. Allows for GET method with an input of the article_id and optional input of stage.
Responses should contain the metadata reduced to what we need for the README form. This includes:
Article ID
Title
Description
DOI
Preferred citation
License
References
[x] API route to get Figshare article data, figshare_get
[x] API route to extract only metadata for README form, metadata_get
[x] Function to output only metadata for README form, figshare_metadata_readme
A
figshare
module is needed to retrieve Figshare metadata from its API. Allows forGET
method with an input of thearticle_id
and optional input ofstage
.Responses should contain the metadata reduced to what we need for the README form. This includes:
figshare_get
metadata_get
figshare_metadata_readme
main.py
for unicorn runpytest
and coverage configuration filesIn addition: