@halo-media/ts-client-api
TypeScript icon, indicating that this package has built-in type declarations

3.41.9 • Public • Published

Ticketsocket Client API

The main purpose of this library is to communicate with the Ticketsocket Integration API

Usage

Script Tag

<script src="/dist/ticketsocket-client-api.umd.js"></script>
<script>
let ticketsocket = new Ticketsocket.API('http://localhost:3000/', 'test-token');
ticketsocket.getCategories().then(console.log, console.error);
ticketsocket.getEvents().then(console.log, console.error);
</script>

ES6

import Ticketsocket from 'ticketsocket-client-api';

let ticketsocket = new Ticketsocket.API('http://localhost:3000/', 'test-token');
ticketsocket.getCategories().then(console.log, console.error);
ticketsocket.getEvents().then(console.log, console.error);

Development

You can link this repository for client API development

Run in this repository directory:

npm link

Run in the project consuming this library

npm link ticketsocket-client-api

Update version & NPM package

To update package version, create new tag and publish new version to npm do:

npm version {x.x.x}

npm run build

npm commit -m "Update package to v{x.x.x}"

npm git push origin

npm publish

Readme

Keywords

none

Package Sidebar

Install

npm i @halo-media/ts-client-api

Weekly Downloads

1,221

Version

3.41.9

License

ISC

Unpacked Size

113 kB

Total Files

43

Last publish

Collaborators

  • tspuller
  • halo-franklin
  • nataliacarrerahalo
  • rbacigalupo
  • demian.bara.halo
  • maxiathalo
  • davidkim9
  • juan.marchetto.halo