https://github.com/joseffb/maropost-api-wrapper
A PHP wrapper for the Maropost API.
https://github.com/joseffb/maropost-api-wrapper
Last synced: about 2 months ago
JSON representation
A PHP wrapper for the Maropost API.
- Host: GitHub
- URL: https://github.com/joseffb/maropost-api-wrapper
- Owner: Joseffb
- License: gpl-3.0
- Created: 2017-04-03T13:20:53.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-03T14:36:16.000Z (about 9 years ago)
- Last Synced: 2025-03-11T06:29:53.273Z (over 1 year ago)
- Language: PHP
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maropost-API-Wrapper
A JSON PHP wrapper for the Maropost API.
BY USING THIS SOFTWARE YOU AGREE THAT THE USE OF THE SOFTWARE IS AT YOUR OWN RISK.
#How to use:
- include_once( "maropost.php" );
- $m = new \Maropost\maropost();
- $APIType = $m->subAPIType();
- E.G Add new products:
`$m = new \Maropost\maropost();
$products = $m->products();
$array = array(
'id' => 4,
'product' => array( 'item_id' => '390', 'description' => 'Brown Horse' )
);
$products->post_new_product($array);`