Simon Fell > Its just code > export.py - a BeatBox sample

Tuesday, February 21, 2006

export.py - a BeatBox sample

export.py, this is small yet complete sample that uses BeatBox to run queries and extract data from Salesforce.com into CSV files.

You can either specify just an object name, in which case it'll call describe to find out all the fields and build the SOQL to fetch everything, or you can pass in a complete soql statement yourself, e.g. export.py user@org.com password event or export.py user@org.com password "select id, subject from event"

< 8:52 PM PST # > tags : Salesforce.com Web Services

You can't post a Comment

Sorry i got sick of comment spam, have something to say about one of my posts, post it to your own weblog.