skip to navigation
skip to content

sf_client 0.1.3

Connect to Salesforce REST API

Latest Version: 0.1.10

Basic library for connecting to Salesforce. Can create a SOAP session and store it locally as well as connect to REST API including Chatter

from sf.Session import SoapSession

s = SoapSession(‘user’,’password’,’securitytoken’) s.get_session_id()

will get you a session id. From there, you need can create a rest client.

from sf.RestClient import RestClient

c = RestClient(session_id=s.get_session_id()) c.get_feed()

The Chatter client in this package puts these together for you and prompts you for credentials

from sf.Chatter import Chatter

c = Chatter() # will prompt you for user/pass/token and then store user/token/session id in your home directory c.get_feed()

File Type Py Version Uploaded on Size
sf_client-0.1.3-py2.7.egg (md5) Python Egg 2.7 2014-06-26 11KB
sf_client-0.1.3.tar.gz (md5) Source 2014-06-26 4KB