/laravel-calendly-api

PHP Calendly API (v2) SDK for Laravel

Primary LanguagePHPMIT LicenseMIT

Calendly API

PHP Calendly API (v2) SDK for Laravel

Installation

Installation using composer:

composer require gentor/laravel-calendly-api

Configuration

Change your default settings in app/config/calendly.php:

return [
    'personal_token' => env('CALENDLY_PERSONAL_TOKEN'),
    'organization_uri' => env('CALENDLY_ORGANIZATION_URI'),
];

Usage

Calendly::users()->me();
Calendly::users()->get();
Calendly::eventTypes()->get();
Calendly::eventTypes()->forOrganization();
Calendly::eventTypes()->forUser();
Calendly::scheduledEvents()->get();
Calendly::scheduledEvents()->forOrganization();
Calendly::scheduledEvents()->forUser();
Calendly::scheduledEvents()->invitees();
Calendly::scheduledEvents()->invitee();
Calendly::memberships()->get();
Calendly::memberships()->forOrganization();
Calendly::memberships()->forUser();
Calendly::webhooks()->get();
Calendly::webhooks()->list();
Calendly::webhooks()->subscribe();
Calendly::webhooks()->unsubscribe();

Documentation

Calendly API Docs