Project

powa_api

0.0
No commit activity in last 3 years
No release in over 3 years
Implementation of the Powa API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.0.rc.5

Runtime

>= 0
 Project Readme

powa-api

Ruby interface to the POWA API

http://developer.powa.com/guide

Configuration

Yaml example

environment: "sandbox"
integration_security_key: "KEY-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
website_authorisation_token: "TOKEN-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"

Then

PowaApi.configure_with("path/to/yaml/file")

Ruby example

PowaApi.configure(:environment => "sandbox", :integration_security_key => "KEY-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
 :website_authorisation_token => "TOKEN-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX")

Usage

products = PowaApi::ProductService.get_products