Page 1 of 1

List of all API functions?

PostPosted: Sun Mar 03, 2024 3:09 pm
by Phadeguy
Hey Everyone,

I am new to scripting, but I did find the scripting README file with the example scripts. The README on line 86 of the copy I have under the "Basic Resolve API" section says this:
Basic Resolve API
-----------------
Some commonly used API functions are described below
The "some" in this statement implies that this is not all of the API functions. Where can I find the documentation of all API functions?

Thank you for your help!!

Re: List of all API functions?

PostPosted: Mon Mar 04, 2024 2:59 pm
by UweUwe
You can usually find a complete list of API functions in the official documentation provided by the API's developers. If you're using a specific programming language or framework, there might also be community-generated documentation available. You can also try looking at the API's source code to find additional functions. If you're still unable to find the information you're looking for, you might want to consider reaching out to the API's developers or the community for more help.

Re: List of all API functions?

PostPosted: Tue Mar 05, 2024 2:50 pm
by Phadeguy
UweUwe wrote:You can usually find a complete list of API functions in the official documentation provided by the API's developers. If you're using a specific programming language or framework, there might also be community-generated documentation available. You can also try looking at the API's source code to find additional functions. If you're still unable to find the information you're looking for, you might want to consider reaching out to the API's developers or the community for more help.
Excellent! Where is the official documentation provided by the API's developers? Is there a community-generated documentation repository that will have more information? Where can I get the API source code? Is there a community somewhere that I can find more help? I looked, but I could not find these, hence my post.

Thank you for your suggestions!

Re: List of all API functions?

PostPosted: Thu Mar 28, 2024 11:27 pm
by roger.magnusson
The answer you got reads like it was written by an AI. It's just generic and in the context of Resolve it's nonsense. There's been a few of them on the forum lately for some reason.

There's no additional documentation of API functions. There used to be some "hidden" functions that could be discovered by looking at the Resolve binaries but they have since been documented in the readme.

Re: List of all API functions?

PostPosted: Wed Apr 10, 2024 11:03 pm
by csanders00
If you're on a mac you can find the docs at

/Library/Application Support/Blackmagic Design/DaVinci Resolve/Developer/Scripting

If you're using python, you can inspect objects provided by the api in a number of ways.
- the `dir` function which lists all the methods of an object
- the `vars` function which lists all the attributes of an object
- https://docs.python.org/3/library/pprint.html

There's also some unofficial (and outdated) docs at https://resolvedevdoc.readthedocs.io/en ... veapi.html