Project

papapi

0.0
No commit activity in last 3 years
No release in over 3 years
Low level API for Post Affiliate Pro GridRequest, FormRequest, etc
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.7
~> 10.4
~> 3.2
 Project Readme

Papapi

A gem for access to the Post Affiliate Pro API.

Getting started example

###Create session as merchant

session = new Papapi::Session("http://demo.postaffiliatepro.com/scripts/server.php");
session.login("merchant@example.com", "demo")

###Create session as affiliate in debug mode

session = new Papapi::Session("http://demo.postaffiliatepro.com/scripts/server.php",true);
session.login("affiliate@example.com", "demo")

###Get information about affiliate

affiliate = Papapi::Affiliate.new(session)
affiliate.load()
affiliate[:username]

###Get information about merchant

merchant = Papapi::Merchant.new(session)
merchant.load()
merchant[:username]

More documentation, and examples can be found there