Skip to main content
Hello all,

 

I have recently joined as Data Analyst in a good MNC. My company uses Salesforce as their CRM, whenever I'm working with data it is hard for me to download and upload. I use python for my research and visualization. I found this code online but I'm getting data_failed_server

pip install simple_salesforce

from simple_salesforce import Salesforce

sf = Salesforce(

username='myemail@example.com',

password='password',

security_token='token')

"SELECT Owner.Name, store_id__c, account_number__c, username__c, password__c, program_status__c, FROM Account WHERE program_status__c IN ('Live','Test')"

sf_data = sf.query_all("SELECT Owner.Name, store_id__c, account_number__c, username__c, password__c, program_status__c, FROM Account WHERE program_status__c IN ('Live','Test')")

sf_df = pd.DataFrame(sf_data['records']).drop(columns='attributes

just finished training from- 

https://bit.ly/3p3BwFr
1 answer
0/9000