I would like to know if there is an option to edit a clip by a pre-defined script, using premiere pro (i.e API).
If not - do you know other options rather than premiere pro?
Get the SDK and write your own routines... questions at http://forums.adobe.com/community/premiere/premierepro_current/sdk
using premiere pro (i.e API).
Thankfully, no. Otherwise editing as a skilled and artistic profession would soon become obsolete.
However, you can do it using TET (Traditional Editing Techniques).
Retrieving data ...