swagger_client¶
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
This Python package is automatically generated by the Swagger Codegen project:
API version: Latest
Package version: 1.0.0
Build package: io.swagger.codegen.languages.PythonClientCodegen
Requirements.¶
Python 2.7 and 3.4+
Installation & Usage¶
pip install¶
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import swagger_client
Setuptools¶
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import swagger_client
Getting Started¶
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# Configure OAuth2 access token for authorization: orcid_two_legs
swagger_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'
# create an instance of the API class
api_instance = swagger_client.MemberAPIV20Api()
orcid = 'orcid_example' # str |
body = swagger_client.NotificationPermission() # NotificationPermission | (optional)
try:
# Add a notification
api_response = api_instance.add_permission_notification(orcid, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling MemberAPIV20Api->add_permission_notification: %s\n" % e)
Documentation for API Endpoints¶
All URIs are relative to https://api.orcid.org
Class |
Method |
HTTP request |
Description |
---|---|---|---|
MemberAPIV20Api |
POST /v2.0/{orcid}/notification-permission |
Add a notification |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/address |
Add an address |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/education |
Create an Education |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/employment |
Create an Employment |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/external-identifiers |
Add external identifier |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/funding |
Create a Funding |
|
MemberAPIV20Api |
POST /v2.0/group-id-record |
Create a Group |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/keywords |
Add keyword |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/other-names |
Add other name |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/peer-review |
Create a Peer Review |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/researcher-urls |
Add a new researcher url for an ORCID ID |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/work |
Create a Work |
|
MemberAPIV20Api |
POST /v2.0/{orcid}/works |
Create a listo of Work |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/address/{putCode} |
Delete an address |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/education/{putCode} |
Delete an Education |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/employment/{putCode} |
Delete an Employment |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/external-identifiers/{putCode} |
Delete external identifier |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/funding/{putCode} |
Delete a Funding |
|
MemberAPIV20Api |
DELETE /v2.0/group-id-record/{putCode} |
Delete a Group |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/keywords/{putCode} |
Delete keyword |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/other-names/{putCode} |
Delete other name |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/peer-review/{putCode} |
Delete a Peer Review |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/researcher-urls/{putCode} |
Delete one researcher url from an ORCID ID |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/work/{putCode} |
Delete a Work |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/address/{putCode} |
Edit an address |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/external-identifiers/{putCode} |
Edit external identifier |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/keywords/{putCode} |
Edit keyword |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/other-names/{putCode} |
Edit other name |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/researcher-urls/{putCode} |
Edits researcher url for an ORCID ID |
|
MemberAPIV20Api |
DELETE /v2.0/{orcid}/notification-permission/{id} |
Archive a notification |
|
MemberAPIV20Api |
GET /v2.0/search |
Search records |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/education/{putCode} |
Update an Education |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/employment/{putCode} |
Update an Employment |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/funding/{putCode} |
Update a Funding |
|
MemberAPIV20Api |
PUT /v2.0/group-id-record/{putCode} |
Update a Group |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/peer-review/{putCode} |
Update a Peer Review |
|
MemberAPIV20Api |
PUT /v2.0/{orcid}/work/{putCode} |
Update a Work |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/activities |
Fetch all activities |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/address/{putCode} |
Fetch an address |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/address |
Fetch all addresses of a profile |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/biography |
Get biography details |
|
MemberAPIV20Api |
GET /v2.0/client/{client_id} |
Fetch client details |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/education/{putCode} |
Fetch an Education |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/education/summary/{putCode} |
Fetch an Education summary |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/educations |
Fetch all educations |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/email |
Fetch all emails for an ORCID ID |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/employment/{putCode} |
Fetch an Employment |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/employment/summary/{putCode} |
Fetch an Employment Summary |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/employments |
Fetch all employments |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/external-identifiers/{putCode} |
Fetch external identifier |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/external-identifiers |
Fetch external identifiers |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/funding/{putCode} |
Fetch a Funding |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/funding/summary/{putCode} |
Fetch a Funding Summary |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/fundings |
Fetch all fundings |
|
MemberAPIV20Api |
GET /v2.0/group-id-record/{putCode} |
Fetch a Group |
|
MemberAPIV20Api |
GET /v2.0/group-id-record |
Fetch Groups |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/keywords/{putCode} |
Fetch keyword |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/keywords |
Fetch keywords |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/other-names/{putCode} |
Fetch Other name |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/other-names |
Fetch Other names |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/peer-review/{putCode} |
Fetch a Peer Review |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/peer-review/summary/{putCode} |
Fetch a Peer Review Summary |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/peer-reviews |
Fetch all peer reviews |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/notification-permission/{id} |
Fetch a notification by id |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/person |
Fetch person details |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/personal-details |
Fetch personal details for an ORCID ID |
|
MemberAPIV20Api |
GET /v2.0/{orcid}{ignore} |
Fetch record details |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/researcher-urls/{putCode} |
Fetch one researcher url for an ORCID ID |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/researcher-urls |
Fetch all researcher urls for an ORCID ID |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/works/{putCodes} |
Fetch specified works |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/work/{putCode} |
Fetch a Work |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/work/summary/{putCode} |
Fetch a Work Summary |
|
MemberAPIV20Api |
GET /v2.0/{orcid}/works |
Fetch all works |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/notification-permission |
Add a notification |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/address |
Add an address |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/education |
Create an Education |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/employment |
Create an Employment |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/external-identifiers |
Add external identifier |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/funding |
Create a Funding |
|
MemberAPIV21Api |
POST /v2.1/group-id-record |
Create a Group |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/keywords |
Add keyword |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/other-names |
Add other name |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/peer-review |
Create a Peer Review |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/researcher-urls |
Add a new researcher url for an ORCID ID |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/work |
Create a Work |
|
MemberAPIV21Api |
POST /v2.1/{orcid}/works |
Create a listo of Work |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/address/{putCode} |
Delete an address |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/education/{putCode} |
Delete an Education |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/employment/{putCode} |
Delete an Employment |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/external-identifiers/{putCode} |
Delete external identifier |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/funding/{putCode} |
Delete a Funding |
|
MemberAPIV21Api |
DELETE /v2.1/group-id-record/{putCode} |
Delete a Group |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/keywords/{putCode} |
Delete keyword |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/other-names/{putCode} |
Delete other name |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/peer-review/{putCode} |
Delete a Peer Review |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/researcher-urls/{putCode} |
Delete one researcher url from an ORCID ID |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/work/{putCode} |
Delete a Work |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/address/{putCode} |
Edit an address |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/external-identifiers/{putCode} |
Edit external identifier |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/keywords/{putCode} |
Edit keyword |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/other-names/{putCode} |
Edit other name |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/researcher-urls/{putCode} |
Edits researcher url for an ORCID ID |
|
MemberAPIV21Api |
DELETE /v2.1/{orcid}/notification-permission/{id} |
Archive a notification |
|
MemberAPIV21Api |
GET /v2.1/search |
Search records |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/education/{putCode} |
Update an Education |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/employment/{putCode} |
Update an Employment |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/funding/{putCode} |
Update a Funding |
|
MemberAPIV21Api |
PUT /v2.1/group-id-record/{putCode} |
Update a Group |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/peer-review/{putCode} |
Update a Peer Review |
|
MemberAPIV21Api |
PUT /v2.1/{orcid}/work/{putCode} |
Update a Work |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/activities |
Fetch all activities |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/address/{putCode} |
Fetch an address |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/address |
Fetch all addresses of a profile |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/biography |
Get biography details |
|
MemberAPIV21Api |
GET /v2.1/client/{client_id} |
Fetch client details |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/education/{putCode} |
Fetch an Education |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/education/summary/{putCode} |
Fetch an Education summary |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/educations |
Fetch all educations |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/email |
Fetch all emails for an ORCID ID |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/employment/{putCode} |
Fetch an Employment |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/employment/summary/{putCode} |
Fetch an Employment Summary |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/employments |
Fetch all employments |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/external-identifiers/{putCode} |
Fetch external identifier |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/external-identifiers |
Fetch external identifiers |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/funding/{putCode} |
Fetch a Funding |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/funding/summary/{putCode} |
Fetch a Funding Summary |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/fundings |
Fetch all fundings |
|
MemberAPIV21Api |
GET /v2.1/group-id-record/{putCode} |
Fetch a Group |
|
MemberAPIV21Api |
GET /v2.1/group-id-record |
Fetch Groups |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/keywords/{putCode} |
Fetch keyword |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/keywords |
Fetch keywords |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/other-names/{putCode} |
Fetch Other name |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/other-names |
Fetch Other names |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/peer-review/{putCode} |
Fetch a Peer Review |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/peer-review/summary/{putCode} |
Fetch a Peer Review Summary |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/peer-reviews |
Fetch all peer reviews |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/notification-permission/{id} |
Fetch a notification by id |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/person |
Fetch person details |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/personal-details |
Fetch personal details for an ORCID ID |
|
MemberAPIV21Api |
GET /v2.1/{orcid}{ignore} |
Fetch record details |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/researcher-urls/{putCode} |
Fetch one researcher url for an ORCID ID |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/researcher-urls |
Fetch all researcher urls for an ORCID ID |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/works/{putCodes} |
Fetch specified works |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/work/{putCode} |
Fetch a Work |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/work/summary/{putCode} |
Fetch a Work Summary |
|
MemberAPIV21Api |
GET /v2.1/{orcid}/works |
Fetch all works |
Documentation For Models¶
orcid_auth¶
Type: OAuth
Flow: accessCode
Authorization URL: https://orcid.org/oauth/authorize
Scopes:
/read-limited: Read Limited record
/activities/update: Update activities
/person/update: Update person
orcid_two_legs¶
Type: OAuth
Flow: application
Authorization URL:
Scopes:
/group-id-record/update: Update groups
/premium-notification: Notifications
/group-id-record/read: Read groups
/read-public: Read Public record