SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
8685aaab
Commit
8685aaab
authored
7 years ago
by
Boris Ponsioen
Browse files
Options
Downloads
Patches
Plain Diff
Makes using a cursor possible in metacore cf pull
parent
b81c86ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
metacore/services.py
+1
-3
1 addition, 3 deletions
metacore/services.py
with
1 addition
and
3 deletions
metacore/services.py
+
1
−
3
View file @
8685aaab
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment