{"id":15009266,"url":"https://github.com/jakubpas/pardot-java-client","last_synced_at":"2025-10-03T18:30:51.617Z","repository":{"id":57737248,"uuid":"106494764","full_name":"jakubpas/pardot-java-client","owner":"jakubpas","description":"Fixed version of Java Client for the Pardot API. It is a fluent style API client for Pardot's API version 4. Use this library at your own risk. It is a fork of official version. It can be obtained from mave. See link below.","archived":false,"fork":true,"pushed_at":"2017-11-11T14:03:00.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-17T13:04:12.070Z","etag":null,"topics":["java","maven","pardot"],"latest_commit_sha":null,"homepage":"https://mvnrepository.com/artifact/net.jakubpas/pardot-api-client","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Crim/pardot-java-client","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakubpas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-11T02:22:16.000Z","updated_at":"2021-04-27T19:26:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jakubpas/pardot-java-client","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubpas%2Fpardot-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubpas%2Fpardot-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubpas%2Fpardot-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakubpas%2Fpardot-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakubpas","download_url":"https://codeload.github.com/jakubpas/pardot-java-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234988228,"owners_count":18918097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","maven","pardot"],"created_at":"2024-09-24T19:24:08.168Z","updated_at":"2025-10-03T18:30:46.255Z","avatar_url":"https://github.com/jakubpas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pardot Java API version 4 Client\n\n[![Build Status](https://travis-ci.org/Crim/pardot-java-client.svg?branch=master)](https://travis-ci.org/Crim/pardot-java-client)\n\n## What is it? \n\nThis library intends to be a fluent style API client for Pardot's API (version 4).\n\n**Note** It currently is not fully featured/fully implemented. If there is a feature/end point that you\nneed that is not yet implemented, please read the **[How to Contribute](#how-to-contribute)** section, or **[Create an issue](https://github.com/Crim/pardot-java-client/issues)** \nrequesting it. \n\n**Note** Use this library at your own risk!  Currently there are no known issues, but as an **unofficial** library,\n there are no guarantees.  \n\n## How to use this library\n\nThis client library is released on Maven Central.  Add a new dependency to your project's POM file:\n\n```xml\n        \u003cdependency\u003e\n            \u003cgroupId\u003enet.jakubpas\u003c/groupId\u003e\n            \u003cartifactId\u003epardot-api-client\u003c/artifactId\u003e\n            \u003cversion\u003e0.1.6\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\nExample Code:\n```java\n/*\n * Create a new configuration object with your Pardot credentials.\n *\n * This configuration also allows you to define some optional details on your connection,\n * such as using an outbound proxy (authenticated or not).\n */\nfinal Configuration configuration = new Configuration(\"YourPardotUserNameHere\", \"PardotPassword\", \"UserKey\");\n\n/*\n * Create an instance of PardotClient, passing your configuration.\n */\nfinal PardotClient client = new PardotClient(configuration);\n\n/*\n * The client will automatically authenticate when you make your first request, no need to\n * explicitly login.\n *\n * Lets create a simple Account request, and execute it.\n */\nfinal AccountReadRequest accountReadRequest = new AccountReadRequest();\nfinal Account account = client.accountRead(accountReadRequest);\n\n\n/*\n * Or lets do a more complex Campaign search.\n */\nfinal CampaignQueryRequest campaignQueryRequest = new CampaignQueryRequest()\n    .withUpdatedAfter(DateParameter.last7Days())\n    .withIdLessThan(1234L)\n    .withSortById()\n    .withSortOrderDescending();\nfinal CampaignQueryResponse.Result campaignQueryResponse = client.campaignQuery(campaignQueryRequest);\n\n/*\n * And when you're done, call close on PardotClient.\n */\nclient.close();\n```\n\nOr Using the Try-With-Resources Pattern:\n```java\n/*\n * Since PardotClient implements Autoclosable, you can also use the try-with-resources pattern.\n */\nfinal Configuration configuration = new Configuration(\"YourPardotUserNameHere\", \"PardotPassword\", \"UserKey\");\ntry (final PardotClient client = new PardotClient(configuration)) {\n    // Use client instance as needed\n    client.accountRead(new AccountReadRequest());\n\n    // client.close() is automatically called at the end of the try {} block.\n}\n```\n\n## What Features are implemented?\n\n### Authentication\nOfficial Documentation: [Authentication](http://developer.pardot.com/#authentication)\n\nAuthenticating with Pardot's API using your Pardot Username, Password, and User Token.  \n\n### Accounts\nOfficial Documentation: [Accounts](http://developer.pardot.com/kb/api-version-3/accounts/)\n\n- Read\n\n\n### Campaigns\nOfficial Documentation: [Campaigns](http://developer.pardot.com/kb/api-version-3/campaigns/)\n\n- Create\n- Query\n- Read\n- Update\n\n### Emails\nOfficial Documentation: [Emails](http://developer.pardot.com/kb/api-version-3/emails/)\n\n- Read\n- Sending List Emails\n- Sending One to One Emails\n- Stats\n\n### Prospects\nOfficial Documentation: [Prospects](http://developer.pardot.com/kb/api-version-3/prospects/)\n\n- Assign\n- Create - Does not support multiple values for record-multiple fields.\n- Delete\n- Query\n- Read\n- Unassign\n- Update - Does not support multiple values for record-multiple fields.\n- Upsert - Does not support multiple values for record-multiple fields.\n\n### Users\nOfficial Documentation: [Users](http://developer.pardot.com/kb/api-version-3/users/)\n\n- Abilities of current API User\n- Query\n- Read\n\n## How to Contribute \n\nWant to help implement the missing API end points?  Fork the repository, write some code, and \nsubmit a PR to the project!\n\nImplementing new API requests really only requires implementing the two following interfaces, along with\nminimal glue code.\n\n### [Request](/blob/master/src/main/java/com/darksci/pardot/api/request/Request.java)\nThe Request interface can typically be implemented by extending either [BaseRequest](/blob/master/src/main/java/com/darksci/pardot/api/request/BaseRequest.java) or [BaseQueryRequest](/blob/master/src/main/java/com/darksci/pardot/api/request/BaseQueryRequest.java).\nThis defines the end point that the request will hit, along with what parameters will be\npassed along with it.\n\n### [ResponseParser](/blob/master/src/main/java/com/darksci/pardot/api/parser/ResponseParser.java)\nThe ResponseParser interface defines how to take the API's response and convert it back into\nuser friendly Plain Old Java Objects (POJOs).\n\n## Changelog\n\nThe format is based on [Keep a Changelog](http://keepachangelog.com/)\nand this project adheres to [Semantic Versioning](http://semver.org/).\n\n[View Changelog](CHANGELOG.md)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubpas%2Fpardot-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakubpas%2Fpardot-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakubpas%2Fpardot-java-client/lists"}