Download the PHP package deliverymatch/api-library without Composer
On this page you can find all versions of the php package deliverymatch/api-library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download deliverymatch/api-library
More information about deliverymatch/api-library
Files in deliverymatch/api-library
Package api-library
Short Description PHP library to communicate with the DeliveryMatch API
License GPL-3.0-or-later
Informations about the package api-library
DeliveryMatch API library
The DeliveryMatch API library provides an easy way to connect with our API.
Table of contents:
- Table of contents
- Installation:
- 1. Composer
- 2. Download source
- How to use:
Installation:
There are currently 2 ways to use our library. You could import it in your composer project, or you can download the source code and place it in your project.
1. Composer
2. Download source
You can download the source code via our GitHub page. After you downloaded the zip you need to extract it into your project.
How to use:
Create an instance of DeliveryMatchClient
. The constructor requires 3 parameters. These 3 parameters are provided by DeliveryMatch
Create your request using PHP arrays. You can find example requests for each endpoint in our API documentation. If you did not receive any API documentation you can request it by DeliveryMatch.
Send your request with the sendRequest
method. This method requires 2 parameters. The endpoint name, and the data you need to send. If you want to send an empty request use an empty array as parameter.
The sendRequest
could throw a DeliveryMatchException
. The exception code is the same value as the corresponding response code from our API documentation.
All versions of api-library with dependencies
ext-json Version *