aboutsummaryrefslogtreecommitdiffstats
path: root/python_client/fatcat_client
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-21 12:23:08 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-21 12:23:08 -0800
commit2027162f9871ebe43a40b0ac4615149141b7a571 (patch)
treec75087fa12c9841a4f12d66fc1b2770e9c6847c4 /python_client/fatcat_client
parentbdb1e6c42317c8ea9d2152896e308203ecd3ac3e (diff)
downloadfatcat-2027162f9871ebe43a40b0ac4615149141b7a571.tar.gz
fatcat-2027162f9871ebe43a40b0ac4615149141b7a571.zip
allow arxiv and jstor lookups
Diffstat (limited to 'python_client/fatcat_client')
-rw-r--r--python_client/fatcat_client/api/default_api.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/python_client/fatcat_client/api/default_api.py b/python_client/fatcat_client/api/default_api.py
index c5b99d8a..3ddfefcc 100644
--- a/python_client/fatcat_client/api/default_api.py
+++ b/python_client/fatcat_client/api/default_api.py
@@ -8836,6 +8836,8 @@ class DefaultApi(object):
:param str pmid:
:param str pmcid:
:param str core_id:
+ :param str arxiv_id:
+ :param str jstor_id:
:param str expand: List of sub-entities to expand in response.
:param str hide: List of sub-entities to expand in response. For releases, 'files', 'filesets, 'webcaptures', 'container', and 'creators' are valid.
:return: ReleaseEntity
@@ -8864,6 +8866,8 @@ class DefaultApi(object):
:param str pmid:
:param str pmcid:
:param str core_id:
+ :param str arxiv_id:
+ :param str jstor_id:
:param str expand: List of sub-entities to expand in response.
:param str hide: List of sub-entities to expand in response. For releases, 'files', 'filesets, 'webcaptures', 'container', and 'creators' are valid.
:return: ReleaseEntity
@@ -8871,7 +8875,7 @@ class DefaultApi(object):
returns the request thread.
"""
- all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core_id', 'expand', 'hide'] # noqa: E501
+ all_params = ['doi', 'wikidata_qid', 'isbn13', 'pmid', 'pmcid', 'core_id', 'arxiv_id', 'jstor_id', 'expand', 'hide'] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
@@ -8904,6 +8908,10 @@ class DefaultApi(object):
query_params.append(('pmcid', params['pmcid'])) # noqa: E501
if 'core_id' in params:
query_params.append(('core_id', params['core_id'])) # noqa: E501
+ if 'arxiv_id' in params:
+ query_params.append(('arxiv_id', params['arxiv_id'])) # noqa: E501
+ if 'jstor_id' in params:
+ query_params.append(('jstor_id', params['jstor_id'])) # noqa: E501
if 'expand' in params:
query_params.append(('expand', params['expand'])) # noqa: E501
if 'hide' in params: