using python to create emitters and fields

Greetings all

I have been searching the api however I can not find a way via python to add a field to an object any know where this is hiding?

To explain I am writing scripts to generate entire sequences from data accessed from an sql database so I need to set things up programatically this includes particles and fields at this point, so any light that can be shed or links to good documentation other then the api and BSOD would be much appreciated.

thanks in advance.