gentor/laravel-calendly-api

PHP Calendly API (v2) SDK for Laravel

dev-master 2022-04-21 18:17 UTC

This package is auto-updated.

Last update: 2024-11-21 23:52:12 UTC


README

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