Official API for atomicradio.eu made with express.
- You need a AzuraCast api token. Check this Guide for more informations.
- For the user geo location you need a ipinfo.io api token.
- The weather route needs a OpenWeatherMap api token. Check this Guide for more informations.
- Only Node.js v14.X or newer can be used for this project.
Rename .env-example
to .env
and fill out the variables. In the .env
file you need your tokens that were mentioned in the prerequisites.
⚠️ The data in the .env should not be published publicly otherwise third parties can gain access to all services that are used here.
- Download the github repository.
git clone https://github.com/atomicnetworkseu/atomicradio-api
- Navigate in the project folder and install all dependencies.
cd atomicradio-api
npm install
- After the installation you can start the bot.
npm run start
This code is available under the Mozilla Public License Version 2.0.