Check out the docs on http://readthedocs.org/docs/harvest-media/en/latest/
Python wrapper for the Harvest Media XML API