2bqueue.info

Made by tycrek

About

2bqueue.info is a service I made for 2b2t developers. With it, I hoped to accomplish a few goals:

API Endpoints

Each endpoint will have a timems field of when the data was last updated. This timestamp is in Unix milliseconds.

Restrictions

At the moment there are no restrictions. Please use the API responsibly or I may be forced to implement restrictions in the future. If you use this in your project, credit would be appreciated.

Contact

All contact methods can be found on my landing page.

Code examples

If you want to provide an example for another language, please let me know.

JavaScript

For Node.js, you can use node-fetch

fetch('https://2bqueue.info/queue')
  .then((res) => res.json())
  .then((json) => {
    console.log(json);
    console.log(`Prio: ${json.prio}`);
  })
  .catch(console.error);

/*
{
  "prio": 79,
  "regular": 732,
  "total": 811,
  "timems": 1617032006106,
  "msg": "Message tycrek#0001 for info"
}
*/