stajor/iherb-api

iHerb Affiliate

1.0.0 2018-10-07 15:25 UTC

This package is auto-updated.

Last update: 2024-03-25 17:09:27 UTC


README

This PHP library will help you to interactive with iHerb.com.

Installation

Add this line to your application's composer.json:

{
    "require": {
        "stajor/iherb-api": "^1.0"
    }
}

and run composer update

Or run this command in your command line:

$ composer require stajor/iherb-api

Usage

$api = new \iHerb\API();
$collection = $api->getTopSellers();
print_r($collection->toArray());

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Stajor/iherb-api. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.