Skip to content

andersevenrud/1881

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API Library for 1881

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