The Tutorials are the best place to start learning the APIs. Once you’ve been through them here is the full API documentation. You can access the most up to date version in the Understand Help menu.
Perl API Commands
https://documentation.scitools.com/html/perl/index.html
Python API Commands
https://documentation.scitools.com/html/python/index.html