post https://client.apimetrics.io/api/2/tokens/
Use this API to create a new Token for an Authentication Setting.
Use this API to create a new Token in your account. The JSON schema for the input is available at ./schema.json
import APImetrics
apimetrics = APImetrics.APImetricsAPI(apimetrics_key="your_api_key")
with open('create.json') as handle:
data = json.loads(handle.read())
resp = apimetrics.create_token(data)
print result['id']