salesforce

FuelSDK: use get() to pull salesforce items into a dataframe

FuelSDK: use get() to pull salesforce items into a dataframe Question: I’m attempting to use Salesforce FuelSDK to pull audit items (i.e. click events, unsub events, bounce events, etc.) from our client’s Marketing Cloud. I’m sure this is down to my inexperience with APIs, but although I’m able to get a success code from "get()", …

Total answers: 2

Change path in simple-salesforce library

Change path in simple-salesforce library Question: I am trying to get a report I created on SalesForce via simple_salesforce library in python. I am able to connect successfully. However, I get invalid session id error, because the link is wrong, that is created by simple_salesforce. The url I am trying to get is different from …

Total answers: 1

check the boolean value of json Python

check the boolean value of json Python Question: Hello I am pretty new working with AWS and SF I am trying to send information and I need to check if the list of json I am checking the information. I have the next json list: here…b'[{ "id": "xxxx", "success": true, "errors": [] }, { "id": …

Total answers: 1

Is there any way to export data from pardot using python?

Is there any way to export data from pardot using python? Question: Currently its a manual process as mentioned below in the link: https://help.salesforce.com/articleView?id=pardot_export_prospects.htm&type=5 Can we use python to fetch data instead of doing manual work? Please share an example of the code Asked By: user14955184 || Source Answers: Use Official Pardot API Documentation and …

Total answers: 3

How do I access the Salesforce API when single-sign on is enabled?

How do I access the Salesforce API when single-sign on is enabled? Question: I’m attempting to make SOQL queries to the Salesforce API using the Python salesforce_api and simple-salesforce modules. I had been making these requests with a client object: client = Salesforce(username=’MY_USERNAME’, password=’MY_PASSWORD’, security_token=’MY_SALESFORCE_SECURITY_TOKEN’) a = client.query("SELECT something FROM some_object_table WHERE some_condition") However, my …

Total answers: 2