skip to navigation
skip to content

Not Logged In

sf_client 0.1.2

Connect to Salesforce REST API

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.2-py2.7.egg (md5) Python Egg 2.7 2014-03-19 10KB
sf_client-0.1.2.tar.gz (md5) Source 2014-03-19 4KB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 78 downloads in the last week
  • 518 downloads in the last month