From 3b6cab9cdccd70b36b4c1a475f21e5b4324d8e3a Mon Sep 17 00:00:00 2001 From: Greg Date: Wed, 24 Feb 2016 11:32:50 -0600 Subject: [PATCH 1/2] Added "Campaigns" to the list of supported objects --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 95f07bd..0724a34 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,7 @@ Object Types & Operations Support for the following object types: + Accounts ++ Campaigns + Emails + Lists + Opportunities From 62aca1a22119c11c98d760d21de528e13b05c4fd Mon Sep 17 00:00:00 2001 From: Greg Date: Wed, 24 Feb 2016 11:39:02 -0600 Subject: [PATCH 2/2] Fixed broken links The links in the readme file were broken. They have been fixed. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0724a34..cbb22a2 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ p.authenticate() ###Querying Objects -Supported search criteria varies for each object. Check the [official Pardot API documentation](http://developer.pardot.com/kb/api-version-3/introduction-table-of-contents) for supported parameters. Most objects support `limit`, `offset`, `sort_by`, and `sort_order` parameters. PyPardot returns JSON for all API queries. +Supported search criteria varies for each object. Check the [official Pardot API documentation](http://developer.pardot.com/#official-pardot-api-documentation) for supported parameters. Most objects support `limit`, `offset`, `sort_by`, and `sort_order` parameters. PyPardot returns JSON for all API queries. **Note**: Pardot only returns 200 records with each request. Use `offset` to retrieve matching records beyond this limit. @@ -101,7 +101,7 @@ for prospect in prospects['prospect'] ### Editing/Updating/Reading Objects -Supported fields varies for each object. Check the [official Pardot API documentation](http://developer.pardot.com/kb/api-version-3/introduction-table-of-contents) to see the fields associated with each object. +Supported fields varies for each object. Check the [official Pardot API documentation](http://developer.pardot.com/kb/object-field-references/) to see the fields associated with each object. ``` # Create a new prospect @@ -131,7 +131,7 @@ Pardot API keys expire after 60 minutes. If PyPardot detects an 'Invalid API key #### Invalid API parameters -If an API call is made with missing or invalid parameters, a `PardotAPIError` is thrown. Error instances contain the error code and message corresponding to error response returned by the API. See [Pardot Error Codes & Messages](http://developer.pardot.com/kb/api-version-3/error-codes-and-messages) in the official documentation. +If an API call is made with missing or invalid parameters, a `PardotAPIError` is thrown. Error instances contain the error code and message corresponding to error response returned by the API. See [Pardot Error Codes & Messages](http://developer.pardot.com/kb/error-codes-messages/) in the official documentation. Performing API calls is inherently unsafe, so be sure to catch exceptions: