Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

meower-media/api-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project logo

api-client

A Meower API Client written in Typescript.

installation

get the package from your favorite source of packages:

  • @meower/api-client on jsr
  • esm.sh/jsr/@meower/api-client in browsers

example

see the docs for more

import { socket } from '@meower/api-client';

const events = await socket.login({
	api_url: 'https://api.meower.org',
	api_token: 'your.token.here',
	socket_url: 'wss://server.meower.org',
});

events.on('auth', ({ username }) => {
	console.log(`logged in as ${username}`);
});

About

A Meower API Client written in Typescript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •