@teamreflex/cosmo-ts
v0.0.1
Published
Unofficial TypeScript library for interfacing with the COSMO app API.
Downloads
23
Maintainers
Readme
@teamreflex/cosmo-ts
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