pythonsalesforce

Get Salesforce Object List


I'm trying to pull a list of all the Salesforce Objects (tables names) from Salesforce. In the examples I see of people getting the Object data, the name of the Object is already known. I want to see the entire list of Objects prior to that. Is this possible? I am using simple_salesforce.

Thank you!!!


Solution

  • Nevermind, I found it

    for x in sf.describe()["sobjects"]:
        print(x["name"])