2.3.0 • Published 2 years ago

@rocketleagueapi/tradebot-api-types v2.3.0

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
2 years ago

🏠 Homepage

Install

Install this package using your package manager of choice.

 npm i @rocketleagueapi/tradebot-api-types

or

 yarn add @rocketleagueapi/tradebot-api-types

Example Usage

import { ListenEvents, EmitEvents } from '@rocketleagueapi/tradebot-api-types'
import io, { Socket } from 'socket.io-client';

const socket: Socket<ListenEvents, EmitEvents> = io('https://tradebot.anga.blue', {
    auth: {
        key: process.env.TRADEBOT_API_KEY
    }
});

socket.on('connect', () => {
    console.log('Connected to Tradebot API');

    socket.emit('getItems', console.log);
});

📝 License

Copyright © 2021 Rocket League API. This project is LGPL--3.0--or--later licensed.

2.3.0

2 years ago

2.2.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.2.0

3 years ago

1.1.1

3 years ago

1.3.0

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago