Skip to content

liostark99-code/AnimeKAI-API

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎌 Anime Kai REST API

Anime Kai Logo

Python Flask GitHub Status


🌟 Overview

Anime Kai REST API is a high-performance, developer-first scraping engine designed to unlock the full potential of AnimeKai. By combining advanced HTML parsing with automated token encryption, this API provides a seamless bridge to anime metadata, episode lists, and direct m3u8 streaming links.

đź’Ž Key Features

  • 🎬 Direct Streaming Resolver: Automated multi-step decryption to find real m3u8 video sources.
  • đź•’ Smart Timestamps: Built-in intro and outro skip points for a premium viewing experience.
  • 🏠 Dynamic Dashboard: Scrapes homepage banners, latest updates, and trending anime (Now, Day, Week, Month).
  • 🧬 Automated Encryption: Zero-manual-work integration with enc-dec.app for secure token (_) parameters.
  • đź§Ľ Pristine Source Code: Clean, comment-free, and production-ready Python logic.

đź›  Architecture & Tech Stack

This project is built using modern Python tools to ensure speed and reliability:

  • Flask: Lightweight and scalable RESTful API framework.
  • BeautifulSoup4: Elegant HTML parsing and data extraction.
  • Requests: Robust HTTP communication with custom header management.
  • Enc-Dec Bridge: External integration for rolling token security.

🚀 Installation & Deployment

1. Set Up Environment

Ensure you have Python 3.10 or higher installed.

# Install required packages
pip install flask flask-cors requests beautifulsoup4

2. Launch the API

# Clone the repository
git clone https://github.com/walterwhite-69/AnimeKAI-API.git
cd AnimeKAI-API

# Start the server
python app.py

đź“– API Documentation

Example Discovery Flow

Order Action Endpoint Purpose
0 Search GET /api/search?keyword=Naruto Find the anime slug.
1 Info GET /api/anime/{slug} Extract metadata and the key ani_id.
2 Episodes GET /api/episodes/{ani_id} Retrieve individual episode tokens.
3 Servers GET /api/servers/{ep_token} Discover Sub, Dub, and Softsub mirrors.
4 Play GET /api/source/{link_id} Final Prize: Direct m3u8 stream!


👤 Author & Contribution

Developed and visioned by Walter. Please star the repository for future updates For contributions, bug reports, or feature requests, visit the official repository:
đź”— GitHub Repository


Made with ❤️by Walter for the Anime Community. Educational use only.

About

🚀 Anime Kai - Unofficial REST API A high-performance, developer-first scraping engine that provides seamless access to AnimeKai's massive library. This API handles all the heavy lifting—from rich metadata discovery (Search, Home, Details) to automated decryption of direct m3u8 streaming links.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%