Skip to content

Commit 57fc204

Browse files
authored
Update README.md
1 parent 570bbdf commit 57fc204

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Salesforce OAuth2, REST & SOAP API Examples (Python)
22

3-
Python implementations of Salesforce Oauth2 Flows, as well as authenticated REST API and SOAP API requests. Grab the code from this repository and get started!
3+
Python implementations of Salesforce Oauth2 Flows, as well as authenticated REST API, SOAP API and Metadata API requests. Grab the code from this repository and get started!
44

55

66
## Table of Contents
@@ -11,6 +11,7 @@ Python implementations of Salesforce Oauth2 Flows, as well as authenticated REST
1111
| [Oauth - Web Server](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/README.md#3---web-server-oauth-authentication-flow) | [Link](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_web_server_oauth_flow.htm) | [Link](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/Oauth2-Flow/salesforce_web_server_flow.py) |
1212
| [Force.com REST API](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples#rest-api-using-the-username-password-oauth-authentication-flow) | [Link](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm) | [Link](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/REST-API/rest_api.py) |
1313
| [Force.com SOAP API] - Not completed | [Link] | [Link] |
14+
| [Metadata API] - Not completed | [Link] | [Link] |
1415
| [Notes](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/README.md#notes)
1516

1617
***
@@ -159,8 +160,8 @@ print(sf_authentication.json()) # Print the JSON response
159160
160161
***
161162
162-
## REST API using the Username-Password OAuth Authentication Flow
163-
| [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm) | [Code Sample](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/REST-API/rest_api.py) |
163+
## REST API - Username-Password OAuth Authentication Flow
164+
| [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_what_is_rest_api.htm) | [Code Sample](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/Salesforce-APIs/REST_Api.py) |
164165
| ------------------------------|:-------------:|
165166
166167
**Example**
@@ -195,7 +196,17 @@ print(get_request.json())
195196
{'recentItems': [], 'objectDescribe': {'feedEnabled': True, 'layoutable': True, 'replicateable': True, 'deprecatedAndHidden': False, 'updateable': True, 'mergeable': True, 'activateable': False, 'name': 'Account', 'searchable': True, 'queryable': True, 'undeletable': True, 'retrieveable': True, 'deletable': True, 'mruEnabled': True, 'isSubtype': False, 'customSetting': False, 'label': 'Account', 'triggerable': True, 'hasSubtypes': False, 'custom': False, 'urls': {'listviews': '/services/data/v39.0/sobjects/Account/listviews', 'compactLayouts': '/services/data/v39.0/sobjects/Account/describe/compactLayouts', 'defaultValues': '/services/data/v39.0/sobjects/Account/defaultValues?recordTypeId&fields', 'quickActions': '/services/data/v39.0/sobjects/Account/quickActions', 'rowTemplate': '/services/data/v39.0/sobjects/Account/{ID}', 'layouts': '/services/data/v39.0/sobjects/Account/describe/layouts', 'sobject': '/services/data/v39.0/sobjects/Account', 'describe': '/services/data/v39.0/sobjects/Account/describe', 'approvalLayouts': '/services/data/v39.0/sobjects/Account/describe/approvalLayouts'}, 'keyPrefix': '001', 'labelPlural': 'Accounts', 'createable': True}}
196197
"""
197198
```
199+
***
200+
201+
## SOAP API - Username-Password OAuth Authentication Flow
202+
| [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_concepts_security.htm) | [Code Sample](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/Salesforce-APIs/SOAP_Api.py) |
203+
| ------------------------------|:-------------:|
198204
205+
***
206+
207+
## Metadata API - Username-Password OAuth Authentication Flow
208+
| [Salesforce Documentation](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/file_based.htm) | [Code Sample](https://github.com/jctissier/Salesforce-Oauth2-REST-SOAP-API-Python-Examples/blob/master/Salesforce-APIs/Metadata_Api.py) |
209+
| ------------------------------|:-------------:|
199210
200211
## Notes
201212
**Author**: Jean-Claude Tissier

0 commit comments

Comments
 (0)