Unofficial TypeScript package for interfacing with MODHAUS' Cosmo: the Gate mobile application API.
npm install @teamreflex/cosmo-ts
pnpm install @teamreflex/cosmo-ts
bun install @teamreflex/cosmo-ts
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
Many endpoints are not implemented yet and many endpoints require authentication. Tokens can be obtained by intercepting app traffic or by accessing Ramper endpoints.
MIT © Reflex