openprovider.py
This is an unofficial Python library for the Openprovider API. Use it to buy domains, order SSL certificates and more from Openprovider.
Setting up the testing environment
The testing environment uses environment variables to run. For example:
export OPENPROVIDER_TEST_USERNAME="test"
export OPENPROVIDER_TEST_PASSWORD="test"
export OPENPROVIDER_URL="https://api.cte.openprovider.eu"
When using virtualenvwrapper, you can place this in $VIRTUAL_ENV/bin/postactivate.
Now you can run the tests:
python setup.py test
Building the docs
Be sure to install sphinx. If you are in a virtualenv, it may be needed to install sphinx in the virtualenv as well since it tries to import.
make -C docs html