/calendly-java-sdk

A java SDK for accessing the calendly-java-sdk API.

Primary LanguageJavaMIT LicenseMIT

calendly

SDK Installation

Gradle

implementation 'calendly.calendly:calendly:0.7.0'

SDK Example Usage

package hello.world;

import calendly.calendly.SDK;
import calendly.calendly.models.shared.Security;
import calendly.calendly.models.operations.ListScheduledEventsStatusEnum;
import calendly.calendly.models.operations.ListScheduledEventsRequest;
import calendly.calendly.models.operations.ListScheduledEventsResponse;

public class Application {
    public static void main(String[] args) {
        try {
            SDK sdk = SDK.builder()
                .setSecurity(new Security() {{
                    oauth2 = "Bearer YOUR_ACCESS_TOKEN_HERE";
                }})
                .build();

            ListScheduledEventsRequest req = new ListScheduledEventsRequest() {{
                count = 5488.14;
                inviteeEmail = "alice@example.com";
                maxStartTime = "provident";
                minStartTime = "distinctio";
                organization = "https://api.calendly.com/organizations/EBHAAFHDCAEQTSEZ";
                pageToken = "quibusdam";
                sort = "unde";
                status = "canceled";
                user = "https://api.calendly.com/users/EBHAAFHDCAEQTSEZ";
            }}            

            ListScheduledEventsResponse res = sdk.scheduledEvents.list(req);

            if (res.listScheduledEvents200ApplicationJSONObject.isPresent()) {
                // handle response
            }
        } catch (Exception e) {
            // handle exception
        }

Available Resources and Operations

activityLog

  • list - List activity log entries

availability

  • get - Get User Availability Schedule
  • getAvailability - List User Availability Schedules
  • getBusyTimes - List User Busy Times

dataCompliance

  • createDeletionEvent - Delete Scheduled Event Data
  • deleteInviteeData - Delete Invitee Data

eventTypes

  • get - Get Event Type
  • getAvailableTimes - List Event Type Available Times
  • list - List User's Event Types

organizations

  • deleteMemberships - Remove User from Organization
  • getInvitations - Get Organization Invitation
  • inviteUser - Invite User to Organization
  • listInvitations - List Organization Invitations
  • listMemberships - List Organization Memberships
  • revokeInvite - Revoke User's Organization Invitation

routingForms

  • getSubmissions - List Routing Form Submissions
  • getSubmissionsByUuid - Get Routing Form Submission
  • getByUuid - Get Routing Form
  • list - List Routing Forms

scheduledEvents

  • cancel - Cancel Event
  • cancel - Cancel Event
  • cancel - Cancel Event
  • createNoShow - Create Invitee No Show
  • getEventByUuid - Get Event
  • getInvitees - List Event Invitees
  • getInviteesByUuid - Get Event Invitee
  • getNoShow - Get Invitee No Show
  • list - List Events
  • unmarkNoShow - Delete Invitee No Show

schedulingLinks

  • create - Create Single-Use Scheduling Link

shares

  • create - Create Share

users

  • get - Get user
  • getMemberships - Get Organization Membership
  • me - Get current user

webhooks

  • create - Create Webhook Subscription
  • delete - Delete Webhook Subscription
  • get - Get Webhook Subscription
  • list - List Webhook Subscriptions

SDK Generated by Speakeasy