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://knowledge.autodesk.com/contact-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:
- The nose unit testing tools,
- The nose-exclude nose plugin
- (Note: Running
pip install -r tests/ci_requirements.txt
will install this package)
- A
tests/config
file (you can copy an example fromtests/example_config
). - Tests can be run individually like this:
nosetests --config="nose.cfg" tests/test_client.py
- Make sure to not forget the
--config="nose.cfg"
option. This option tells nose to use our config file.
- Make sure to not forget the
test_client
andtests_unit
use mock server interaction and do not require a Flow Production Tracking instance to be available (no modifications totests/config
are necessary).test_api
andtest_api_long
do 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/config
file. 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.- To run all of the tests, use the shell script
run-tests
.