# @halo-media/ts-client-api

> A library for interacting with the Ticketsocket integration API

Latest version **3.41.33** (published 2026-04-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install @halo-media/ts-client-api
pnpm add @halo-media/ts-client-api
yarn add @halo-media/ts-client-api
bun add @halo-media/ts-client-api
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 3.41.33 |
| Published | 2026-04-14 |
| First published | 2021-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 112.7 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | Blue Team |
| Maintainers | maxiathalo, nataliacarrerahalo, davidkim9, juan.marchetto.halo, demian.bara.halo, halo-franklin, rbacigalupo, tspuller |

## Links

- npm: https://www.npmjs.com/package/@halo-media/ts-client-api
- Repository: https://bitbucket.org/halopowered/ticketsocket-client-api
- Homepage: https://bitbucket.org/halopowered/ticketsocket-client-api#readme
- Issues: https://bitbucket.org/halopowered/ticketsocket-client-api/issues
- npm.io page: https://npm.io/package/@halo-media/ts-client-api

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.19.2
- [jwt-decode](https://npm.io/package/jwt-decode.md) ^2.2.0

## Recent versions

- 3.41.33 (latest) — 2026-04-14
- 3.41.32 — 2025-09-10
- 3.41.31 — 2025-08-28
- 3.41.30 — 2025-08-14
- 3.41.29 — 2025-08-06
- 3.41.28 — 2025-07-28
- 3.41.27 — 2025-07-25
- 3.41.26 — 2025-07-16
- 3.41.25 — 2025-07-09
- 3.41.24 — 2025-07-09
- 3.41.23 — 2025-07-02
- 3.41.22 — 2025-07-02
- 3.41.21 — 2025-06-30
- 3.41.20 — 2025-06-26
- 3.41.19 — 2025-06-10
- … 75 more at https://npm.io/package/@halo-media/ts-client-api/versions

## README

# Ticketsocket Client API

The main purpose of this library is to communicate with the Ticketsocket Integration API

## Usage

Script Tag
```html
<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
```js
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
```

---
_Source: https://npm.io/package/@halo-media/ts-client-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
