How Can We Help?
Very simple example: let’s extract the next closing opportunities
print(json.dumps(sf_api_call('/services/data/v59.0/query/', {
'q': 'SELECT Account.Name, Name, CloseDate from Opportunity where IsClosed = False order by CloseDate ASC LIMIT 10'
}), indent=2))
The result is a JSON easy to exploit.