Skip to content
Python Library for Versature's REST API
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
versature
.gitignore
README.md
requirments.txt
setup.py

README.md

A Python Library for Versature's REST API

Codacy Badge

[API Documentation] (integrate.versature.com/apidoc/)

##########################################################

Example - Read active calls for authenticated user

##########################################################

import versature import Versature

v = Versature(client_id='zzzzzzz', client_secret='xxxxxx')
company_cdrs_for_last_seven_days = v.active_calls(all=True)

#######################

Test Case Setup

#######################

Create secret.py config file and add the: URL for Versature's API, Client Id, Client Secret. Also a User, Domain, and Password for each of the roles is needed in order to test

secret.py

VERSATURE_API_URL = 'https://integrate.versature.com/api'
VERSATURE_CLIENT_ID = ''
VERSATURE_CLIENT_SECRET = ''

CALL_QUEUE_USER = ''

OFFICE_MANAGER_USER = ''
OFFICE_MANAGER_DOMAIN = ''
OFFICE_MANAGER_PASSWORD = ''

BASIC_USER_USER = ''
BASIC_USER_DOMAIN = ''
BASIC_USER_PASSWORD = ''

RESELLER_USER = ''
RESELLER_DOMAIN = ''
RESELLER_PASSWORD = ''
You can’t perform that action at this time.