Skip to content

Exove/linkedevents-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LinkedEvents API Client

Extremely basic HTTP Call wrapper for LinkedEvents style API's.

Requires PHP 7.4, or later.

Installing

composer require devgeniem/linkedevents-client

Usage

<?php

require_once 'vendor/autoload.php';

$client = new \Geniem\LinkedEvents\LinkedEventsClient( 'https://www.example.com/api/v2' );
$multiple = $client->get_all( 'event', [
    'start' => '2021-01-17',
    'end'   => '2021-01-20',
] );

$single = $client->get( 'event/system:kKCxAqpRX' );

Changelog

Please see CHANGELOG for more information about what has changed recently.

Contributing

Contributions are highly welcome! Just leave a pull request of your awesome well-written must-have feature.

License

This project is licensed under the GPL-3.0 License.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%