0.0.1 • Published 12 months ago

@teamreflex/cosmo-ts v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@teamreflex/cosmo-ts

npm version npm downloads

Unofficial TypeScript package for interfacing with MODHAUS' Cosmo: the Gate mobile application API.

Install

npm install @teamreflex/cosmo-ts
pnpm install  @teamreflex/cosmo-ts
bun install @teamreflex/cosmo-ts

Usage

import { createClient } from "@teamreflex/cosmo-ts";

const client = createClient({
  accessToken: "your-access-token",
});

const artist = await client.artists.get("ARTMS");
console.log(artist.members.length); // 5

Note

Many endpoints are not implemented yet and many endpoints require authentication. Tokens can be obtained by intercepting app traffic or by accessing Ramper endpoints.

License

MIT © Reflex

0.0.1

12 months ago