Skip to content

Write own API client

Max Walsch edited this page Dec 23, 2015 · 1 revision

Of course you can expand the software for all APIs you would like to use. See Configuration for how to let the default standalone version use them.

A client is nothing more than an function which is called on startup. It is called once to register consumers or start intervals. The function takes a amqplib connection as the first argument and a callback function as the second one.

Example implementation: /lib/api/hypixel.js.

Clone this wiki locally