API Library for 1881

0.5.6 2018-01-23 13:57 UTC

This package is auto-updated.

Last update: 2024-11-06 12:36:19 UTC


README

A simple PHP library to communicate with 1881's API.

Uses JWT and Guzzle.

This library is not associated with Digitale Medier or 1881 in any way.

Installation

composer require andersevenrud/1881

Examples

Supports all API methods provided, example to look up person:

use DM1881\DM1881;

$client = new DM1881([
    'username' => 'dummy',
    'client_id' => 'Dummy',
    'secret' => 'hash'
]);

var_dump($client->searchPerson('ola bull'));;

Changelog

  • 0.5.6 - Updated dependencies
  • 0.5.5 - Added first() and eq() to result class
  • 0.5.4 - Bugfixes
  • 0.5.3 - Bugfixes
  • 0.5.2 - Updated composer.json
  • 0.5.1 - Updated documentation
  • 0.5.0 - Initial release

License

MIT