Welcome to the the DevCycle Python SDK, initially generated via the DevCycle Bucketing API.
Python 2.7 and 3.4+
pip install devcycle-python-server-sdk
(you may need to run pip
with root permission: sudo pip install devcycle-python-server-sdk
)
Then import the package:
import devcycle_python_sdk
from __future__ import print_function
from devcycle_python_sdk import Configuration, DVCOptions, DVCClient, UserData, Event
from devcycle_python_sdk.rest import ApiException
configuration = Configuration()
configuration.api_key['Authorization'] = 'your_server_key_here'
options = DVCOptions(enableEdgeDB=True)
# create an instance of the API class
dvc = DVCClient(configuration, options)
user = UserData(
user_id='test',
email='[email protected]',
country='CA'
)
To find usage documentation, visit our docs.
To run the example app against the local version of the API for testing and development, run:
pip install .
from the top level of the repo (same level as setup.py). Then run the example app as normal. Reinstall every time a change is made.