Official Ad-ID PHP API Software Development Kit v.1.0.0
The Ad-ID Web API is a set of HTTP endpoints that helps your consumer app integrate with Ad-ID. The Ad-ID API SDK [BETA] is a PHP implementation. Check out our full list of API actions in the Ad-ID Services User Guide to learn about everything you can do with the API.
Please refer to the Wiki
PHP >= 5.3.10
Composer >= 1.6.3
Install using Composer. Simply update your composer.json with the following command:
composer require adidtech/adid-php-sdk
Basic usage: instantiate a new AdidBrowser with valid credentials.
<?php //This will just show you the basics, please read the full documentation. $adid_browser = new \AdvertisingDigital\AdidBrowser('email@example.com','yourpass'); $adid_response = $adid_browser->listSingleCode(1242423); $adid_code = json_decode($adid_response->getContent(), TRUE); echo $adid_browser->getLastRequest() . PHP_EOL; print_r($adid_code);
PHP-Unit tests are located within the tests directory.
- Buzz - Buzz Lightweight HTTP Client
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
#For the versions available, see the tags on #this repository.
- James Tarleton - Initial work - adidtech
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to Kris Wallsmith - author of Buzz HTTP Client