Get and Set strip data in Video Sequencer

Hello,

Is there a set of Python commands to get and set the strips data in the Video Sequencer?

I’m looking for commands that:

  • Return the number of strips in a channel.
  • Return the start and length of the i’th strip in a channel.
  • Return the type of the i’th strip in a channel.
  • Set the start and length of the i’th strip in a channel.

I would like to develop a script that fills all the gaps in a channel with a master strip, but I don’t know where to start!

Thank you!