mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 10:55:10 +00:00
Compare commits
1
Commits
v2.5.1
...
c854d763c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c854d763c6 |
@@ -22,7 +22,7 @@
|
||||
<img src="https://img.shields.io/badge/Cheerio-1.0-3572A5?style=flat-square&logoColor=white" alt="Cheerio"/>
|
||||
<img src="https://img.shields.io/badge/Vercel-Serverless-000000?style=flat-square&logo=vercel&logoColor=white" alt="Vercel"/>
|
||||
<img src="https://img.shields.io/badge/License-MIT-22c55e?style=flat-square&logo=mit&logoColor=white" alt="License"/>
|
||||
<img src="https://img.shields.io/badge/Version-2.4.1-f43f8e?style=flat-square&logoColor=white" alt="Version"/>
|
||||
<img src="https://img.shields.io/badge/Version-2.5.1-f43f8e?style=flat-square&logoColor=white" alt="Version"/>
|
||||
<img src="https://img.shields.io/badge/Endpoints-40-6366f1?style=flat-square&logoColor=white" alt="Endpoints"/>
|
||||
<img src="https://img.shields.io/badge/Anime-10000+-a855f7?style=flat-square&logoColor=white" alt="Anime Database"/>
|
||||
<img src="https://img.shields.io/badge/Maintenance-Active-22c55e?style=flat-square&logo=github&logoColor=white" alt="Maintenance"/>
|
||||
|
||||
+12
-11
@@ -1,8 +1,8 @@
|
||||
/**
|
||||
* ============================================================================
|
||||
* AniKotoAPI — Architecture Document
|
||||
* Version : 2.4.1
|
||||
* Generated: 2026-08-14
|
||||
* Version : 2.5.1
|
||||
* Generated: 2026-10-13
|
||||
* ============================================================================
|
||||
*
|
||||
* Free REST API for scraping anime data from anikototv.to
|
||||
@@ -301,7 +301,7 @@
|
||||
* └────────────────────────────────────────────────────────────────────────┘
|
||||
*
|
||||
* ┌────────────────────────────────────────────────────────────────────────┐
|
||||
* │ Controllers (28 handlers) │
|
||||
* │ Controllers (30 handlers) │
|
||||
* ├────────────────────────────────────────────────────────────────────────┤
|
||||
* │ One controller per API endpoint. Responsibilities: │
|
||||
* │ • Extract and validate request parameters (query, params, body) │
|
||||
@@ -364,7 +364,7 @@
|
||||
* │ Routes │
|
||||
* ├────────────────────────────────────────────────────────────────────────┤
|
||||
* │ apiRoutes.js │
|
||||
* │ • Defines all 28 endpoint paths with HTTP methods │
|
||||
* │ • Defines all 40 endpoint paths with HTTP methods │
|
||||
* │ • Maps paths to controller functions │
|
||||
* │ • Embeds OpenAPI 3.0 spec for auto-documentation │
|
||||
* │ │
|
||||
@@ -782,7 +782,7 @@
|
||||
* │ INTEGRATION TESTS (test.js) │
|
||||
* ├──────────────────────────────────────────────────────────────────────┤
|
||||
* │ │
|
||||
* │ • 35 end-to-end tests covering all 28+ endpoints. │
|
||||
* │ • 40 end-to-end tests covering all 40+ endpoints. │
|
||||
* │ • Each test hits the live API and validates: │
|
||||
* │ - HTTP status code (200, or expected error code) │
|
||||
* │ - Response shape (success: true, data present) │
|
||||
@@ -836,12 +836,13 @@
|
||||
* │ VERSION HISTORY │
|
||||
* ├──────────────────────────────────────────────────────────────────────┤
|
||||
* │ │
|
||||
* │ v2.4.1 (Current) │
|
||||
* │ • 28 endpoints, 28 extractors │
|
||||
* │ • LRU cache with per-endpoint TTL │
|
||||
* │ v2.5.1 (Current) │
|
||||
* │ • 40 endpoints, 29 extractors, 30 controllers │
|
||||
* │ • Cache TTLs per endpoint + 60min MAL/AniList ID cache │
|
||||
* │ • 5-mirror failover system │
|
||||
* │ • Vercel serverless deployment │
|
||||
* │ • 35 integration tests │
|
||||
* │ • Direct embed providers (Megavid/AniXo/MegaPlay) │
|
||||
* │ • 40 integration tests │
|
||||
* │ • OpenAPI 3.0 spec embedded in apiRoutes.js │
|
||||
* │ │
|
||||
* └──────────────────────────────────────────────────────────────────────┘
|
||||
@@ -866,13 +867,13 @@
|
||||
* │ Anime Detail │ animeInfo, watchPage, status │
|
||||
* │ Episode & Stream │ episodeList, episodeListAjax, │
|
||||
* │ │ streamInfo, streamResolver, download,│
|
||||
* │ │ embedProviders │
|
||||
* │ │ embedProviders, episodeLatest │
|
||||
* │ Lists │ newRelease, trendingSidebar, │
|
||||
* │ │ topAnimeRankings, recentlyUpdated, │
|
||||
* │ │ completedAnime, upcomingAnime │
|
||||
* │ Meta │ seasons, watchOrder │
|
||||
* ├─────────────────────────────┼────────────────────────────────────────┤
|
||||
* │ TOTAL │ 28 endpoints │
|
||||
* │ TOTAL │ 40 endpoints │
|
||||
* └─────────────────────────────┴────────────────────────────────────────┘
|
||||
*
|
||||
* ┌──────────────────────────────────────────────────────────────────────┐
|
||||
|
||||
+1
-1
@@ -973,7 +973,7 @@ curl "https://anikototvapi.vercel.app/api/health"
|
||||
"success": true,
|
||||
"results": {
|
||||
"status": "healthy",
|
||||
"version": "2.4.1",
|
||||
"version": "2.5.1",
|
||||
"uptime": "0h 1m 21s",
|
||||
"uptimeSeconds": 81,
|
||||
"timestamp": "2026-07-30T02:20:46.153Z",
|
||||
|
||||
+2
-2
@@ -26,7 +26,7 @@ curl -s "https://anikototvapi.vercel.app/api/health" | python3 -m json.tool
|
||||
"success": true,
|
||||
"results": {
|
||||
"status": "healthy",
|
||||
"version": "2.4.1",
|
||||
"version": "2.5.1",
|
||||
"uptime": "0h 1m 21s",
|
||||
"uptimeSeconds": 81,
|
||||
"timestamp": "2026-07-30T02:20:46.153Z",
|
||||
@@ -2036,7 +2036,7 @@ curl -s "https://anikototvapi.vercel.app/api/health" | python3 -m json.tool
|
||||
"success": true,
|
||||
"results": {
|
||||
"status": "healthy",
|
||||
"version": "2.4.1",
|
||||
"version": "2.5.1",
|
||||
"uptime": "0h 1m 21s",
|
||||
"uptimeSeconds": 81,
|
||||
"timestamp": "2026-07-30T02:20:46.153Z",
|
||||
|
||||
+2
-2
@@ -1,11 +1,11 @@
|
||||
# // === HEADER ===
|
||||
# AniKotoAPI v2.4.1
|
||||
# AniKotoAPI v2.5.1
|
||||
# Free REST API for Anime Data
|
||||
# Scraping anikototv.to with Cheerio
|
||||
|
||||
---
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
Reference in New Issue
Block a user