This package has been deprecated

Author message:

Use @foxochat/api instead

@foxogram/api
TypeScript icon, indicating that this package has built-in type declarations

0.1.17 • Public • Published

Foxogram API

The API client for foxogram.js

Installation

Install with npm / yarn / pnpm:

npm install @foxogram/api
yarn add @foxogram/api
pnpm add @foxogram/api

Usage

import API from "@foxogram/api";

const api = new API(rest);

api.rest.token = TOKEN;

try {
  await api.message.create(CHANNEL_ID, {
    content: "floof by coof",
  });
} catch (error) {
  console.error(error);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @foxogram/api

Weekly Downloads

7

Version

0.1.17

License

MIT

Unpacked Size

28.6 kB

Total Files

16

Last publish

Collaborators

  • kasefuchs
  • nelifs