pymetrics API
Project description
pymetrics-soft-skills-sdk
This is pymetrics's public API. The API can be used to get information on candidates as part of a job application workflow, or for employee career pathing and development.
The typical use case for this is to support an externally initiated assessment for a candidate job application. This is often done "inline" with the candidate's application, or asynchronously after the candidate submits their application. This data can then be used for career pathing and employee development in subsequent stages.
The expected sequence of API calls is:
Generate OAuth Token
with the OAuth Client ID and Secret you've been providedGet Assessment Configurations
to determine which configured assessment templates are availableCreate Assessment Order
for a selected Assessment and candidate job applicationGet Assessment Order
to receive the recommendation results and reports, once they are available
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 2.2.0
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install
pip install pymetrics_soft_skills_sdk
Then import the package:
import pymetrics_soft_skills_sdk
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 pymetrics_soft_skills_sdk
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import pymetrics_soft_skills_sdk
from pymetrics_soft_skills_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = pymetrics_soft_skills_sdk.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with pymetrics_soft_skills_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = pymetrics_soft_skills_sdk.DefaultApi(api_client)
authorization = 'authorization_example' # str | Standard Bearer token request, from `Generate OAuth Token`. Formatted `Bearer {token}` (optional)
x_api_key = 'x_api_key_example' # str | Mandatory API Key that pymetrics will provide (optional)
order_request = pymetrics_soft_skills_sdk.OrderRequest() # OrderRequest | Candidate, assessment, and job application details (optional)
try:
# Create Assessment Order
api_response = api_instance.mercury_create_order_v2(authorization=authorization, x_api_key=x_api_key, order_request=order_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->mercury_create_order_v2: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | mercury_create_order_v2 | POST /mercury/v2/orders | Create Assessment Order |
DefaultApi | mercury_get_config_v2 | GET /mercury/v2/assessments | Get Assessment Configurations |
DefaultApi | mercury_list_orders_v2 | GET /mercury/v2/orders | List Assessment Orders |
DefaultApi | mercury_o_auth_v2 | POST /mercury/v2/oauth/token | Generate OAuth Token |
DefaultApi | mercury_retrieve_factor_content | GET /mercury/v2/factorContent/{uuid} | Get Factor Content |
DefaultApi | mercury_retrieve_order_v2 | GET /mercury/v2/orders/{uuid} | Get Assessment Order |
Documentation For Models
- AssessmentType
- AtsType
- Configuration
- ErrorResponse
- ListOrdersRequest
- ListOrdersResponse
- MercuryAssessment
- MercuryAssessmentOrder
- MercuryCandidate
- MercuryDevelopmentReportContent
- MercuryFactorContent
- MercuryModelDirection
- MercuryOrderFactorContent
- MercuryOrderMetadata
- MercuryReport
- MercuryResult
- MercuryRetrieveFactorContentRequest
- OAuthRequest
- OAuthResponse
- OrderCreateResponse
- OrderRequest
- PontemOrderStatuses
- PontemReportTypes
Author
Michelle Tsai min.tsai@pymetrics.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pymetrics-soft-skills-sdk-1.0.2.tar.gz
.
File metadata
- Download URL: pymetrics-soft-skills-sdk-1.0.2.tar.gz
- Upload date:
- Size: 68.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b41e52f3cb91f274b9e7d2bc03b9b66728d568f47b3e1e29fc8411f4d30c1ec |
|
MD5 | 5dc362742b18146d9c281e49806cc424 |
|
BLAKE2b-256 | 4ee537125d0feea99c4771e800ce67262c8f1d85744a842dbe97c2cdc20ec46d |