SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 8685aaab authored by Boris Ponsioen's avatar Boris Ponsioen
Browse files

Makes using a cursor possible in metacore cf pull

parent b81c86ca
No related branches found
No related tags found
No related merge requests found
......@@ -2,14 +2,12 @@ import requests
from .models import Citable, CitableWithDOI
def get_crossref_test():
def get_crossref_test(cursor='*'):
"""
For testing purposes - retrieves a "small" dataset from CrossRef and saves it
in de database, after parsing
"""
cursor = '*'
# Member 16 is APS
# url = 'https://api.crossref.org/members/16/works'
# Last cursor I used (after 100.000 records from APS) for this
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment