-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
It'd be nice to have the version parameters as arguments to the PublicAPI class in orcid.py. At the moment I can't use your code since SEARCH_VERSION is hard coded in (I wanted to use SEARCH_VERSION="/v3.0").
e.g.
class PublicAPI(object):
"""Public API."""
TYPES_WITH_PUTCODES = set(['address',
'education',
'email',
'employment',
'external-identifier',
'funding',
'keywords',
'other-names',
'peer-review',
'researcher-urls',
'work'])
TYPES_WITH_MULTIPLE_PUTCODES = set(['works'])
def __init__(self, institution_key, institution_secret, sandbox=False,
timeout=None, do_store_raw_response=False, search_version="/v2.0"):
Metadata
Metadata
Assignees
Labels
No labels