Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from simple_salesforce import Salesforce
- sf = Salesforce(username = 'myusername@salesforce.com.sandbox', password =
- 'mypassword', security_token = 'mysecuritytoken', sandbox =
- True, client_id = 'Report Query')
- # just trying to get a json response of all reports - once I have the data
- set returned I can complete my script
- # and parse through the result details
- query_results = sf.query("/services/data/v39.0/analytics/reports")
- print(query_results)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement