Module eventbrite

ballerinax/eventbrite Ballerina library

1.6.2

Overview

The Eventbrite API v3 connector(https://www.eventbrite.com/platform/api) OpenAPI specification. Eventbrite is an Event Management System with an API which allows creating and managing events including venue management, marketing, selling tickets, and financial management.

Key Features

  • Programmatic access to create and manage resources via REST API
  • Manage user accounts and profiles
  • Support for webhooks and event-driven workflows
  • Secure authentication with API key or OAuth support

Prerequisites

Before using this connector in your Ballerina application, complete the following:

Quickstart

To use the Eventbrite connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/eventbrite module into the Ballerina project.

Copy
import ballerinax/eventbrite;

Step 2: Create a new connector instance

Create a eventbrite:ClientConfig with the Bearer_Token obtained, and initialize the connector with it.

Copy
eventbrite:ClientConfig clientConfig = {
    auth: {
        token: <Bearer_Token>
    }
};
eventbrite:Client baseClient = check new Client(clientConfig);

Step 3: Invoke connector operation

  1. Now you can use the operations available within the connector. Note that they are in the form of remote operations.

    Following is an example on how to list events by organization ID using the connector.

    List Events by Organization ID.

    Copy
    public function main() returns error? {
        eventbrite:EventsByOrganization response = check baseClient->listEventsByOrganization(<organizationId>);
        log:printInfo(response.toString());
    }
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/eventbrite;Copy

Other versions

See more...

Metadata

Released date: 3 days ago

Version: 1.6.2

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 1898

Current verison: 0


Weekly downloads


Source repository


Keywords

Type/Connector

Vendor/Eventbrite

Area/Marketing & Social Media

Marketing/Event Management

Cost/Freemium


Contributors