/meowclient

Library to connect to the Scratch API

Primary LanguageTypeScriptMIT LicenseMIT

Meowclient

A library to connect to Scratch.

Installation

Run this command in a terminal.

npm install meowclient

Example

import { ScratchSession, Profile } from "meowclient";
const session = new ScratchSession();
await session.init("user", "pass");
const me = new Profile(session, session.username);
console.log("My status is " + (await me.getStatus()));
await session.logout();

This uses exclusively ESM (ECMAScript Modules) instead of CJS due to some dependencies meowclient uses.

Getting Help

You can get help using Meowclient from the official Meowclient forum topic

Thanks

Thanks to all of the people who use my library!

Thanks to Scratchclient and Raihan142857 (CubeyTheCube) for a lot of the login stuff!