1.2.1 • Published 3 years ago

treefarmer.js v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Treefarmer.js

Easily interact with the Tree Farmer API

Installation

Install with npm install treefarmer.js and it will be installed.

Important

  • To use the API you must have an API token.
  • Obtain a token by creating a farm, join the community server and type /api.
  • Every method on the client is a promise.

Basic Usage

import { Client } from 'treefarmer.js';

const client = new Client('API TOKEN');
const user = await client.getUser('292821168833036288');

API

Read the documentation for Treefarmer.js @ js.treefarmer.xyz

Contributing

Feel free to contribute however, it is appreciated! Join the community server @ treefarmer.xyz/discord.

1.2.0

3 years ago

1.2.1

3 years ago

1.1.0

4 years ago

1.0.0

4 years ago