2.3.0 • Published 9 months ago

@rocketleagueapi/tradebot-api-types v2.3.0

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
9 months 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

9 months ago

2.2.0

9 months ago

2.1.0

10 months ago

2.0.0

11 months ago

1.4.1

1 year ago

1.4.0

1 year ago

1.2.0

1 year ago

1.1.1

2 years ago

1.3.0

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago