spacetradersts / spacetraders.ts

Object-oriented TypeScript library for interacting with the spacetraders API

Home Page:https://spacetradersts.github.io/website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spacetraders.ts

Build Status Coverage Status npm version Dependency Status devDependency Status NPM

spacetraders.ts (WIP)

An object-oriented TypeScript library for spacetraders API.

Example usage:

creating an account then logging in

import { Client } from 'spacetraders.ts';

const client = new Client();
client.createAccount('username').then((newUser) => {
    client.login(newUser.token);
});

client.on('ready', () => {
    console.log(`Logged in as ${client.username}`);
});

The library is still in development and is not yet ready for production use. Contributions and stars are welcome and if you really like the project, support me on Patreon

About

Object-oriented TypeScript library for interacting with the spacetraders API

https://spacetradersts.github.io/website

License:Apache License 2.0


Languages

Language:TypeScript 99.2%Language:JavaScript 0.8%