Requests can be sent using any programming language - you only have to follow the JSON format of requests/responses.

 

We provide PHP object library (single file PapApi.class.php or PapApiNamespace.class.php) that simplifies making requests to the Post Affiliate Pro API and processing the responses. PapApi.class.php is part of every Post Affiliate Pro distribution and can be found in api folder in your installation files or you can download it from Merchant panel> Tools> IntegrationAPI Integration. Always use the PapApi.class.php / PapApiNamespace.class.php from current version of Post Affiliate Pro to ensure compatibility.

To be able to use this class, you will need:

  • PHP version 8.1 and higher 

  • either cURL extension or fsockopen enabled

 

The file has no other external dependencies. If you want to the API in another language (Java, C#, .NET, Ruby, Python), it is generally possible, but we do not provide any library of classes for these languages yet.

×