Metadata-Version: 2.1
Name: pysalesforceutils
Version: 1.0.6
Summary: Python module to wrap the Salesforce APIs
Home-page: https://github.com/gbarger/PySalesforce
Author: Glen Barger
Author-email: gbarger@gmail.com
License: UNKNOWN
Description: # PySalesforce
        **************
        The purpose of this project is to replicate the Salesforce REST APIs in a Python library.
        
        ## Usage
        *******
        The authentication method used in PySalesforce.Authentication.getOAuthLogin uses the Salesforce OAuth Password flow. You can choose to build and use your own authentication method, but if you want to use the OAuth flow, you'll need to create a connected app in Salesforce. YOu can do this from Setup->Create->Apps, then scroll down to the bottom and click the New button for Connected Apps. THE Callback URL is irrelavent, so you can put in anything you want. Make sure the Selected Scope OAuth Scopes = Full Access. After setting it up you'll receive a Consumer Key and Consumer Secret, which are the loginClientId and loginClientSecret parameters in the getOAuthLogin method respectively.
        
        ## Salesforce Documentation
        ***************
        As I continue to update this library, I'll be adding reference links to the Salesforce documentation.
        - [List of Salseforce APIs](https://developer.salesforce.com/page/Salesforce_APIs)
        - [Tooling API](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_rest_resources.htm)
        - [Metadata API](https://developer.salesforce.com/page/An_Introduction_to_Force.com_Metadata)
        - [Streaming API](https://developer.salesforce.com/page/Streaming_API)
        - [REST API](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm)
        - [Bulk API](https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch/asynch_api_intro.htm)
        - [Bulk 2.0 API](https://developer.salesforce.com/docs/atlas.en-us.api_bulk_v2.meta/api_bulk_v2/introduction_bulk_api_2.htm)
        - [Chatter REST API](https://developer.salesforce.com/page/Chatter_API)
        - [Bulk API Trailhead Example](https://trailhead-salesforce-com.firelayers.net/en/api_basics/api_basics_bulk)
        
        ## Notes
        *******
        I had issues with OS X not being able to connect to any sandbox environments. The issue was related to my OpenSSL version not being up to date enough.
        
        You can run this test to check if your machine is up to date with SSL. Make sure it can run TLS 1.1 or 1.2
        ---
        import WebService
        response = WebService.Tools.getHTResponse("https://www.howsmyssl.com/a/check", {})
        print(response.text)
        ---
Platform: UNKNOWN
Description-Content-Type: text/markdown
