This application is needed to work as an xtream server API. You put a link to an IPTV playlist in M3U or M3U8 format and an EPG link into the configuration file and the application processes it all and sends it as json responses to any xtream enabled application.
All the xtream server control panels I've found were last updated over 2 years ago. They also have many problems and cannot be fixed due to encrypted files.
This guide will show you how to get the application up and running.
Before you begin, make sure you have python3 installed.
git clone https://github.com/Divarion-D/xtream_api.git
cd xtream_api
pip3 install -r requirements.txt
Open config.py and fill in the fields
python3 api.py
Enter your username and password in the console when you run the application for the first time.