Autodesk provides a simple Python-based API for accessing Flow Production Tracking and integrating with other tools. This is the official API that is maintained by Autodesk (https://www.autodesk.com/support)
The latest version can always be found at http://github.com/shotgunsoftware/python-api
Tutorials and detailed documentation about the Python API are available at http://developer.shotgridsoftware.com/python-api.
Some useful direct links:
You can see the full history of the Python API on the documentation site.
Integration and unit tests are provided.
- All tests require:
- pytest and related plugins
- (Note: Running
pip install -r tests/requirements.txtwill install all required packages)
- A
tests/configfile (you can copy an example fromtests/example_config). - Tests can be run individually like this:
pytest tests/test_client.py - To run all tests:
pytest - To run tests with coverage:
pytest --cov shotgun_api3 --cov-report html test_clientandtest_unituse mock server interaction and do not require a Flow Production Tracking instance to be available (no modifications totests/configare necessary).test_apiandtest_api_longdo require a Flow Production Tracking instance, with a script key available for the tests. The server and script user values must be supplied in thetests/configfile. The tests will add test data to your server based on information in your config. This data will be manipulated by the tests, and should not be used for other purposes.