Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

⚡ Official API for atomicradio.eu made with express.

License

Notifications You must be signed in to change notification settings

atomicnetworkseu/atomicradio-api

Repository files navigation

atomicradio

API ⚡

Official API for atomicradio.eu made with express.

Workflow Gitmoji

Getting Started ✨

Prerequisites

  1. You need a AzuraCast api token. Check this Guide for more informations.
  2. For the user geo location you need a ipinfo.io api token.
  3. The weather route needs a OpenWeatherMap api token. Check this Guide for more informations.
  4. Only Node.js v14.X or newer can be used for this project.

Configuration

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.

Installation

  1. Download the github repository.
git clone https://github.com/atomicnetworkseu/atomicradio-api
  1. Navigate in the project folder and install all dependencies.
cd atomicradio-api
npm install
  1. After the installation you can start the bot.
npm run start

License 📑

This code is available under the Mozilla Public License Version 2.0.