-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Nick Kasprzak edited this page Jun 21, 2019
·
5 revisions
This is a guide to using iland's API with PHP.
Here we will explain the following examples:
You need the following PHP library for OAuth2 authorization:
OAuth 2.0 Client from the League of Extraordinary Packages
- Download here
- Or install using composer with
$ composer require league/oauth2-client
In the example get-event-report.php
you can find how authentication is done with the iland API.
You will need to provide the following fields for your PHP scripts to work:
- USERNAME
- PASSWORD
- CLIENT_ID
- CLIENT_SECRET
Your username and password is the one you use to login into iland's console.
To get your CLIENT_ID
and CLIENT_SECRET
contact [email protected]