1.0.733 • Published 1 year ago

acme-ticketing-client v1.0.733

Weekly downloads
7
License
MIT
Repository
github
Last release
1 year ago

ACME Ticketing Client

This is a Node JS client for the ACME Ticketing API, built for open-source by the Barnes Foundation.

General usage is the following. Once you've initialized the client, you can use your desired modules as needed.

import { ACMETicketingClient, TicketingFunctions, EventFunctions } from  '../src/index';

// Get credentials from .env
const b2cTenantId = '<Your tenant id>';
const apiKey = '<Your API key>';
const apiRootUrl = '<Your Sandbox URL. Otherwise, defaults to the production API URL>';

// Setup client - initializes the client for usage across your app
new ACMETicketingClient({ b2cTenantId, apiKey, apiRootUrl });

// Get all events, since we supplied no filter criteria
const allMyEvents = await EventFunctions.listEvents();

As you can tell from the above, you're able to import only the modules you need, which makes accessing functions via these modules much easier, straightforward, and simple for encapsulating logic in your applications.

100% of modules have included TSDoc so you can easily see method signatures, giving you helpful information like what parameters a method accepts, it's purpose, what it returns, etc.

You can see example usage of several of the modules over in the testing file test.ts.

1.0.733

1 year ago

1.0.732

2 years ago

1.0.730

2 years ago

1.0.731

2 years ago

1.0.729

3 years ago

1.0.728

3 years ago

1.0.727

3 years ago

1.0.726

3 years ago

1.0.725

3 years ago

1.0.724

3 years ago

1.0.723

3 years ago

1.0.722

3 years ago

1.0.721

3 years ago

1.0.720

3 years ago

1.0.719

3 years ago

1.0.718

3 years ago

1.0.717

4 years ago

1.0.716

4 years ago

1.0.715

4 years ago

1.0.714

4 years ago

1.0.713

4 years ago

1.0.712

4 years ago

1.0.711

4 years ago

1.0.71

4 years ago

1.0.70

4 years ago

1.0.69

4 years ago

1.0.66

4 years ago

1.0.65

4 years ago

1.0.64

4 years ago

1.0.68

4 years ago

1.0.62

4 years ago

1.0.61

4 years ago

1.0.63

4 years ago

1.0.960

4 years ago

1.0.959

4 years ago

1.0.958

4 years ago

1.0.956

4 years ago

1.0.957

4 years ago

1.0.954

4 years ago

1.0.953

4 years ago

1.0.955

4 years ago

1.0.952

4 years ago

1.0.951

4 years ago

1.0.95

4 years ago

1.0.94

4 years ago

1.0.93

4 years ago

1.0.92

4 years ago

1.0.91

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago