Skip to content

gponty/symfony-idloom-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony IdLoom Api

This is a Symfony 6/7 Bundle helps you to use idloom API v4 : https://idloom.events/docs/.

Installation

1 Add to composer.json to the require key

    composer require gponty/symfony-idloom-api-bundle

Usage

Inject the service in your controller :

    public function __construct(readonly IdLoomApiService $idLoomApiService)
    { }

Use the service :

    $this->idLoomApiService->setKey('abcdefdfhijklmnopqrstuvwxyz');
    $options = [ 'event_uid' => '1234567890'];
    $response = $this->idLoomApiService->request('GET','/attendees',$options);

It's not possible to put api key in .env file because you can have different keys for different events.

License

This bundle is under the MIT license. See the complete license in the bundle.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages