This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

This is Salesforce Python SDK for REST and SOAP APIs

Project Description
salesforce-python-sdk
=====================

Salesforce Python SDK supports Salesforce REST and Partner SOAP APIs.

Install
-------
python setup.py install

Example
-------
import salesforce as sf
sfdc = sf.Salesforce()

sfdc.authenticate(client_id=client_id,
client_secret=client_secret,
username=username,
password=password)

#SOAP call
sfdc.Contact.create(
[
{
'FirstName': 'John',
'LastName': 'Varges',
},
{
'FirstName': 'Clark',
'LastName': 'Fisher',
}
],
soap=True)

#REST Call
sfdc.Contact.create({
'FirstName': 'John',
'LastName': 'Varges'})

You can switch between REST and SOAP by passing soap parameter.


Supported APIs
--------------
get_auth_uri(self, **kwargs)

authenticate(self, soap=None, **kwargs)

query(self, query_string, soap=None)

query_all(self, query_string, soap=None)

query_more(self, query_url, soap=None)

search(self, search_string, soap=None)

get(self, get_url, params=None, soap=None, **kwargs)

post(self, post_url, data, soap=None)

On sObject:

describe(self, soap=None)

create(self, data, soap=None)

update(self, data, soap=None)

delete(self, record_id, soap=None)

post(self, data, record_id=None, soap=None)

get(self, record_id=None, params=None, soap=None)
Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
salesforce-python-sdk-0.1.3.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Oct 13, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting