1.0.6 • Published 3 years ago
spacetraders.ts v1.0.6
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