Skip to content

A wrapper around the simple-salesforce module to ease making REST API calls to SFDC

Notifications You must be signed in to change notification settings

sandipsinha/loggly-restsfdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loggly-restsfdc

A wrapper around the simple-salesforce module to ease making REST API calls to SFDC

####Import from the class object

from logglyrestsfdc  import sfdcrest

####Create a client by instantiating a rest based SFDC client

sf = sfdcrest.sfdcrestClient(<instance>)    instance can be prod or sandbox

Note: It expects a file with all the required SFDC credentials in the file config.py.

####To Read an Opportunity by a custom field

sf.execute('get-opportunity',<custom-field-name>,<custom-field-name-value>)

To update an Opportunity using an id

sf.execute('update-opportunity',<Opportunity-ID>,<data-dict>):

About

A wrapper around the simple-salesforce module to ease making REST API calls to SFDC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages