devgeniem / linkedevents-client
Installs: 4 623
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 18
Forks: 1
Open Issues: 0
Requires
- php: >=7.4|>=8.0
- ext-json: *
- rmccue/requests: ^2.0
Requires (Dev)
README
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.