Package: passbase
passbaseThis Python package is automatically generated by theSwagger Codegenproject:API version: 1.0.0Package version: 1.3.0Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallgit+https://github.com/passbase/passbase-python.git(you may need to runpipwith root permission:sudo pip install git+https://github.com/passbase/passbase-python.git)Then import the package:importpassbaseSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importpassbaseGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportpassbasefrompassbase.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: SecretApiKeyconfiguration=passbase.Configuration()configuration.api_key['X-API-KEY']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'# create an instance of the API classapi_instance=passbase.IdentityApi(passbase.ApiClient(configuration))id='38400000-8cf0-11bd-b23e-10b96e4ef00d'# str | Unique ID of the identity to returntry:# Get identityapi_response=api_instance.get_identity_by_id(id)pprint(api_response)exceptApiExceptionase:print("Exception when calling IdentityApi->get_identity_by_id:%s\n"%e)# Configure API key authorization: SecretApiKeyconfiguration=passbase.Configuration()configuration.api_key['X-API-KEY']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'# create an instance of the API classapi_instance=passbase.IdentityApi(passbase.ApiClient(configuration))id='id_example'# str | Identity idresource_id='resource_id_example'# str | Resource idtry:# Get resourceapi_response=api_instance.get_identity_resource_by_id(id,resource_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling IdentityApi->get_identity_resource_by_id:%s\n"%e)# Configure API key authorization: SecretApiKeyconfiguration=passbase.Configuration()configuration.api_key['X-API-KEY']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'# create an instance of the API classapi_instance=passbase.IdentityApi(passbase.ApiClient(configuration))id='id_example'# str | Identity idresource_id='resource_id_example'# str | Resource idresource_file_id='resource_file_id_example'# str | Resource file idtry:# Get resource fileapi_response=api_instance.get_identity_resource_file_by_id(id,resource_id,resource_file_id)pprint(api_response)exceptApiExceptionase:print("Exception when calling IdentityApi->get_identity_resource_file_by_id:%s\n"%e)# Configure API key authorization: SecretApiKeyconfiguration=passbase.Configuration()configuration.api_key['X-API-KEY']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'# create an instance of the API classapi_instance=passbase.IdentityApi(passbase.ApiClient(configuration))limit=56# int |  (optional)cursor='cursor_example'# str |  (optional)try:# List identitiesapi_response=api_instance.list_identities(limit=limit,cursor=cursor)pprint(api_response)exceptApiExceptionase:print("Exception when calling IdentityApi->list_identities:%s\n"%e)# Configure API key authorization: SecretApiKeyconfiguration=passbase.Configuration()configuration.api_key['X-API-KEY']='YOUR_API_KEY'# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed# configuration.api_key_prefix['X-API-KEY'] = 'Bearer'# create an instance of the API classapi_instance=passbase.IdentityApi(passbase.ApiClient(configuration))id='id_example'# str | Identity idlimit=56# int |  (optional)cursor='cursor_example'# str |  (optional)try:# List resourcesapi_response=api_instance.list_identity_resources(id,limit=limit,cursor=cursor)pprint(api_response)exceptApiExceptionase:print("Exception when calling IdentityApi->list_identity_resources:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.passbase.com/verification/v2ClassMethodHTTP requestDescriptionIdentityApiget_identity_by_idGET/identities/{id}Get identityIdentityApiget_identity_resource_by_idGET/identity/{id}/resources/{resource_id}Get resourceIdentityApiget_identity_resource_file_by_idGET/identity/{id}/resources/{resource_id}/resource_files/{resource_file_id}Get resource fileIdentityApilist_identitiesGET/identitiesList identitiesIdentityApilist_identity_resourcesGET/identity/{id}/resourcesList resourcesProjectApiget_settingsGET/settingsGet project settingsDocumentation For ModelsCursorDataPointsIdentityIdentityOwnerIdentityResourcePaginatedIdentitiesPaginatedResourcesProjectSettingsProjectSettingsCustomizationsProjectSettingsVerificationStepsResourceResourceFileResourceFilesResourceFilesInnerResourceFilesInputResourceFilesInputInnerResourceInputResourceTypeUserWatchlistResponseDocumentation For AuthorizationIdentityAccessTokenPublishableApiKeyType: API keyAPI key parameter name: X-API-KEYLocation: HTTP headerSecretApiKeyType: API keyAPI key parameter name: X-API-KEYLocation: HTTP headerAuthor