API Key

To connect to the different Tree News websockets you will need an API key.

First, sign in using your discord account on Tree News (https://news.treeofalpha.com/).

You may access your API key via: -API endpoint: https://news.treeofalpha.com/api/api_key -Discord message: send "api" to "Managey Boi" bot in the Tree Discord

Note that your API key will remain the same every time you query it. To request a new API key, send "renew_api" to the Discord Bot.

First time coding or creating program based on websockets ?

Click here for a Python example and here for a JavaScript (React) example.

Last updated