Download the PHP package zacherystuart/walmart-api-php-client without Composer
On this page you can find all versions of the php package zacherystuart/walmart-api-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zacherystuart/walmart-api-php-client
More information about zacherystuart/walmart-api-php-client
Files in zacherystuart/walmart-api-php-client
Package walmart-api-php-client
Short Description Walmart Open API PHP client
License MIT
Informations about the package walmart-api-php-client
Walmart Open API PHP client
Introduction
Welcome to the Walmart Open API PHP Client, a Composer package for interacting with the Walmart Open API.
This library is powered by Guzzle 6 thus requires PHP >= 5.5.0 to work.
Extensive PHPUnit tests are provided, the builds are handled by Travis-CI and test code coverage is calculated by Coveralls.io.
Contributing
If you notice any bugs or have an idea for improvements, feel free to submit a ticket to the project Issue Tracker.
Pull requests are welcome, just remember to submit them to the develop branch. Any PRs to the master branch will be rejected.
Installation
Composer
If you don't have Composer already available on your local system, install it first:
Manual installation
Create a composer.json file and add an entry in the "require" section:
Run the below command afterwards:
Composer installation
Alternatively to the above method you can just run the following:
Usage
Walmart API key
In order to use the Walmart Open API you need to obtain an API key. You can get it by registering a Walmart developer account.
Basic usage
LinkShare Publisher Id
It is possible to provide your LinkShare Publisher Id for URL tracking/attribution purposes. It is optional and you can read more about this subject on Walmart Affiliates website. To use your LinkShare Publisher Id with this library, just pass it to TransportService constructor in the process of creating the basic components, like shown below:
Features
Each of the available Services is a wrapper for one or more Walmart Open API services. The available methods' declarations and descriptions can be found in the Service interfaces. Each of the methods returns either a single specific Entity (e.g. Product) or a Collection of Entities (e.g. Categories Collection).
Product service
Integrates with
Available methods
- getById
- getByUpc
- getByIds
- getBySearch
- getAllBySearch
- getPostbrowsedById
- getRecommendedById
- getTrending
Offer service
Integrates with
Available methods
- getVod
- getPreorder
- getBestsellers
- getRollback
- getClearance
- getSpecialbuy
Review service
Integrates with
Available methods
- getReviews
Store service
Integrates with
Available methods
- getStoresByCoordinates
- getStoresByCity
- getStoresByZip
Taxonomy service
Integrates with
Available methods
- getCategories