Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.55 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.55 KB

Gather mod example: set status to Spotify

a Gather mod which sets your status to your currently playing track on spotify

check out the websocket API docs for more!

setup

prereq: have NodeJS and npm installed

run npm install

put your Gather API key, -spaceId, Spotify API credentials and -tokens in a file named api-key.ts like so:

export const API_KEY = "your-api-key-here";
export const SPACE_ID = "gatherSpaceId\\gatherSpaceName";
export const CLIENT_ID = "your-spotify-client-id";
export const CLIENT_SECRET = "your-spotify-client-secret";
export const ACCESS_TOKEN = "your-very-long-spotify-token-here";
export const REFRESH_TOKEN = "your-very-long-spotify-refresh-token-here";

running

npm run start

further information