From 2027162f9871ebe43a40b0ac4615149141b7a571 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 21 Jan 2019 12:23:08 -0800 Subject: allow arxiv and jstor lookups --- python_client/fatcat_client/api/default_api.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'python_client/fatcat_client') 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: -- cgit v1.2.3