Skip to content

Instantly share code, notes, and snippets.

@matiasmedina5
Created August 8, 2017 15:54
Show Gist options
  • Save matiasmedina5/4c95dfc1f296bf1f4d02995db3ce5902 to your computer and use it in GitHub Desktop.
Save matiasmedina5/4c95dfc1f296bf1f4d02995db3ce5902 to your computer and use it in GitHub Desktop.
Connect to Salesforce using Beatbox (Python library to use the SOAP API of Salesforce)
import beatbox
service = beatbox.PythonClient() # instantiate the object
service.serverUrl = str(projectSettings["SF_SERVER_URL"]) # login using your sf credentials
service.login(str(projectSettings["SF_ORG_USER"]), str(projectSettings["SF_ORG_PASSWORD"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment