orderdaily / php-api
Orderdaily PHP API package
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/orderdaily/php-api
Requires
- php: >=7.0
Requires (Dev)
- php: >=7.0
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2023-03-19 17:31:26 UTC
README
The Orderdaily API is used for communicating and synchronising your system with Orderdaily. This can be simply done with this library.
Requirements:
Installation:
Composer:
We recommend using composer. When composer is installed, execute the following command in your project folder:
composer require orderdaily/php-api^1.1.0
And be sure to include the composer autoload in your project.
Example usage:
$client = new \Orderdaily\Client(); $client->set_application_name("ApplicationName"); $client->set_main_api_key("Enter Orderdaily Main API Key"); $client->set_partner_api_key("Orderdaily Partner API Key"); $orders = $client->get_shop_orders(5);
API Authentication:
There are 2 API endpoints build into this library.
- Orderdaily API - Used by Orderdaily developers for synchronisation development. An API key is sent to you by Orderdaily.
- Orderdaily Partner API - Used by Partners for forwarding orders to the Orderdaily bikers. An API key is sent to you by Orderdaily.