mirror of
https://github.com/Shineii86/AniKotoAPI.git
synced 2026-10-22 10:55:10 +00:00
v1.8.0: Update all documentation to match current state
Fixed 19 outdated occurrences across 7 files: - public/index.html: 27→30 endpoints (6 occurrences) - public/manifest.json: 27→30 endpoints - README.md: 27→30 and 24→30 endpoints (7 occurrences) - docs/index.md: 27→30 endpoints - docs/architecture.md: 27→30 endpoints - package.json: axios ^1.7.0→^1.8.0 - CHANGELOG.md: Added documentation update entry
This commit is contained in:
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- `server.js` — Added `__dirname` computation (was missing)
|
- `server.js` — Added `__dirname` computation (was missing)
|
||||||
- `search.controller.js` — Fixed cache key collision with suggestion controller
|
- `search.controller.js` — Fixed cache key collision with suggestion controller
|
||||||
- `apiRoutes.js` — Made endpoint count dynamic (was hardcoded 27)
|
- `apiRoutes.js` — Made endpoint count dynamic (was hardcoded 27)
|
||||||
|
- Updated endpoint count from 27→30 across all documentation files
|
||||||
|
- Fixed axios version in package.json (^1.7.0 → ^1.8.0)
|
||||||
- `vercel.json` — Removed duplicate CORS header (server.js handles it)
|
- `vercel.json` — Removed duplicate CORS header (server.js handles it)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
<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/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/License-MIT-22c55e?style=flat-square&logo=mit&logoColor=white" alt="License"/>
|
||||||
<img src="https://img.shields.io/badge/Version-1.8.0-f43f8e?style=flat-square&logoColor=white" alt="Version"/>
|
<img src="https://img.shields.io/badge/Version-1.8.0-f43f8e?style=flat-square&logoColor=white" alt="Version"/>
|
||||||
<img src="https://img.shields.io/badge/Endpoints-27-6366f1?style=flat-square&logoColor=white" alt="Endpoints"/>
|
<img src="https://img.shields.io/badge/Endpoints-30-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/Anime-10000+-a855f7?style=flat-square&logoColor=white" alt="Anime Database"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
### Why AniKotoAPI?
|
### Why AniKotoAPI?
|
||||||
|
|
||||||
- 🎬 **27 Endpoints** — Complete coverage of anikototv.to data
|
- 🎬 **30 Endpoints** — Complete coverage of anikototv.to data
|
||||||
- 🔍 **Full-Text Search** — Search anime by keyword with suggestions
|
- 🔍 **Full-Text Search** — Search anime by keyword with suggestions
|
||||||
- 📺 **Episode Lists** — AJAX-loaded episode data with server info
|
- 📺 **Episode Lists** — AJAX-loaded episode data with server info
|
||||||
- 🎯 **Smart Filtering** — Genre, type, status, rating, sort, season, year
|
- 🎯 **Smart Filtering** — Genre, type, status, rating, sort, season, year
|
||||||
@@ -135,7 +135,7 @@ flowchart TD
|
|||||||
### ⚡ Core
|
### ⚡ Core
|
||||||
- **Real-time scraping** from anikototv.to
|
- **Real-time scraping** from anikototv.to
|
||||||
- **Smart caching** with 5-minute TTL
|
- **Smart caching** with 5-minute TTL
|
||||||
- **27 RESTful endpoints** covering all data
|
- **30 RESTful endpoints** covering all data
|
||||||
- **AJAX episode loading** for accurate data
|
- **AJAX episode loading** for accurate data
|
||||||
- **Mapper API integration** for extra servers
|
- **Mapper API integration** for extra servers
|
||||||
- **Graceful error handling** per endpoint
|
- **Graceful error handling** per endpoint
|
||||||
@@ -183,7 +183,7 @@ flowchart TD
|
|||||||
|
|
||||||
| Feature | Description | Status |
|
| Feature | Description | Status |
|
||||||
|:---|:---|:---:|
|
|:---|:---|:---:|
|
||||||
| 🎬 27 API Endpoints | Complete coverage of anime data | ✅ |
|
| 🎬 30 API Endpoints | Complete coverage of anime data | ✅ |
|
||||||
| 🔍 Full-Text Search | Keyword search with pagination | ✅ |
|
| 🔍 Full-Text Search | Keyword search with pagination | ✅ |
|
||||||
| 📺 Episode Lists | AJAX-loaded episode data | ✅ |
|
| 📺 Episode Lists | AJAX-loaded episode data | ✅ |
|
||||||
| 🎯 Advanced Filtering | Genre, type, status, rating, sort | ✅ |
|
| 🎯 Advanced Filtering | Genre, type, status, rating, sort | ✅ |
|
||||||
@@ -301,7 +301,7 @@ AniKotoAPI/
|
|||||||
│ │
|
│ │
|
||||||
│ ├── 📂 docs/ # 📚 API documentation
|
│ ├── 📂 docs/ # 📚 API documentation
|
||||||
│ │ ├── 📄 index.md # Overview, quick start
|
│ │ ├── 📄 index.md # Overview, quick start
|
||||||
│ │ ├── 📄 endpoints.md # Full API reference (27 endpoints)
|
│ │ ├── 📄 endpoints.md # Full API reference (30 endpoints)
|
||||||
│ │ ├── 📄 streaming.md # Streaming flow guide
|
│ │ ├── 📄 streaming.md # Streaming flow guide
|
||||||
│ │ ├── 📄 examples.md # Code examples (cURL, JS, Python)
|
│ │ ├── 📄 examples.md # Code examples (cURL, JS, Python)
|
||||||
│ │ └── 📄 architecture.md # Project structure, tech stack
|
│ │ └── 📄 architecture.md # Project structure, tech stack
|
||||||
@@ -341,7 +341,7 @@ AniKotoAPI/
|
|||||||
│ │ └── 📄 formatTitle.helper.js # 🔤 Title formatter
|
│ │ └── 📄 formatTitle.helper.js # 🔤 Title formatter
|
||||||
│ │
|
│ │
|
||||||
│ └── 📂 routes/ # 🛤️ Express routes
|
│ └── 📂 routes/ # 🛤️ Express routes
|
||||||
│ ├── 📄 apiRoutes.js # 🌐 Main API routes (24 endpoints)
|
│ ├── 📄 apiRoutes.js # 🌐 Main API routes (30 endpoints)
|
||||||
│ └── 📄 category.route.js # 🏷️ Category routes
|
│ └── 📄 category.route.js # 🏷️ Category routes
|
||||||
│
|
│
|
||||||
├── 📄 server.js # 🚀 Express server entry point
|
├── 📄 server.js # 🚀 Express server entry point
|
||||||
@@ -2054,7 +2054,7 @@ The API can access 10,000+ anime titles from anikototv.to. The most-popular endp
|
|||||||
|
|
||||||
### ✅ Completed
|
### ✅ Completed
|
||||||
|
|
||||||
- [x] 🎬 27 API endpoints covering all data
|
- [x] 🎬 30 API endpoints covering all data
|
||||||
- [x] 🔍 Full-text search with pagination
|
- [x] 🔍 Full-text search with pagination
|
||||||
- [x] 📺 Episode lists via AJAX loading
|
- [x] 📺 Episode lists via AJAX loading
|
||||||
- [x] 🎯 Advanced filtering (genre, type, status, rating, sort)
|
- [x] 🎯 Advanced filtering (genre, type, status, rating, sort)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ AniKotoAPI/
|
|||||||
│
|
│
|
||||||
├── docs/ # API documentation
|
├── docs/ # API documentation
|
||||||
│ ├── index.md # Overview, quick start, features
|
│ ├── index.md # Overview, quick start, features
|
||||||
│ ├── endpoints.md # Full API reference (27 endpoints)
|
│ ├── endpoints.md # Full API reference (30 endpoints)
|
||||||
│ ├── streaming.md # Streaming flow guide (3-step)
|
│ ├── streaming.md # Streaming flow guide (3-step)
|
||||||
│ ├── examples.md # cURL, JavaScript, Python, Node.js
|
│ ├── examples.md # cURL, JavaScript, Python, Node.js
|
||||||
│ └── architecture.md # This file
|
│ └── architecture.md # This file
|
||||||
|
|||||||
+1
-1
@@ -57,7 +57,7 @@ curl "https://anikototvapi.vercel.app/api/info?id=road-of-naruto-ggjw8"
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **27 Endpoints** — Home, search, info, episodes, streaming, schedule, and more
|
- **30 Endpoints** — Home, search, info, episodes, streaming, schedule, and more
|
||||||
- **No API Key** — Just make requests, no registration needed
|
- **No API Key** — Just make requests, no registration needed
|
||||||
- **In-Memory Cache** — 5-minute TTL for fast responses
|
- **In-Memory Cache** — 5-minute TTL for fast responses
|
||||||
- **CORS Enabled** — Access from any domain
|
- **CORS Enabled** — Access from any domain
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
"author": "Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ",
|
"author": "Sʜɪɴᴇɪ Nᴏᴜᴢᴇɴ",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.7.0",
|
"axios": "^1.8.0",
|
||||||
"cheerio": "^1.0.0-rc.12",
|
"cheerio": "^1.0.0-rc.12",
|
||||||
"cookie-parser": "^1.4.7",
|
"cookie-parser": "^1.4.7",
|
||||||
"cors": "^2.8.5",
|
"cors": "^2.8.5",
|
||||||
|
|||||||
+6
-6
@@ -10,7 +10,7 @@
|
|||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="https://anikototvapi.vercel.app" />
|
<meta property="og:url" content="https://anikototvapi.vercel.app" />
|
||||||
<meta property="og:image" content="https://anikototvapi.vercel.app/share.jpg" />
|
<meta property="og:image" content="https://anikototvapi.vercel.app/share.jpg" />
|
||||||
<meta property="og:description" content="Free REST API for anime data. Browse, search, stream episodes. 27+ endpoints, no API key required." />
|
<meta property="og:description" content="Free REST API for anime data. Browse, search, stream episodes. 30+ endpoints, no API key required." />
|
||||||
<meta property="og:site_name" content="AniKotoAPI" />
|
<meta property="og:site_name" content="AniKotoAPI" />
|
||||||
<meta property="og:locale" content="en_US" />
|
<meta property="og:locale" content="en_US" />
|
||||||
|
|
||||||
@@ -26,13 +26,13 @@
|
|||||||
<meta name="twitter:site" content="@Shineii86" />
|
<meta name="twitter:site" content="@Shineii86" />
|
||||||
<meta name="twitter:creator" content="@Shineii86" />
|
<meta name="twitter:creator" content="@Shineii86" />
|
||||||
<meta name="twitter:title" content="AniKotoAPI — Free Anime Data API" />
|
<meta name="twitter:title" content="AniKotoAPI — Free Anime Data API" />
|
||||||
<meta name="twitter:description" content="Free REST API for anime data. Browse, search, stream episodes. 27+ endpoints." />
|
<meta name="twitter:description" content="Free REST API for anime data. Browse, search, stream episodes. 30+ endpoints." />
|
||||||
<meta name="twitter:image" content="https://anikototvapi.vercel.app/share.jpg" />
|
<meta name="twitter:image" content="https://anikototvapi.vercel.app/share.jpg" />
|
||||||
<meta name="twitter:image:alt" content="AniKotoAPI - Free Anime Data REST API" />
|
<meta name="twitter:image:alt" content="AniKotoAPI - Free Anime Data REST API" />
|
||||||
<meta name="twitter:domain" content="anikototvapi.vercel.app" />
|
<meta name="twitter:domain" content="anikototvapi.vercel.app" />
|
||||||
|
|
||||||
<!-- ──────────────── Generic Meta ──────────────── -->
|
<!-- ──────────────── Generic Meta ──────────────── -->
|
||||||
<meta name="description" content="Free REST API for anime data. Browse, search, stream episodes. 27+ endpoints, no API key required. Built with Node.js, Express, Cheerio." />
|
<meta name="description" content="Free REST API for anime data. Browse, search, stream episodes. 30+ endpoints, no API key required. Built with Node.js, Express, Cheerio." />
|
||||||
<meta name="keywords" content="anime api, free api, rest api, anime data, streaming, episode servers, nodejs, express, anime database, anime search" />
|
<meta name="keywords" content="anime api, free api, rest api, anime data, streaming, episode servers, nodejs, express, anime database, anime search" />
|
||||||
<meta name="robots" content="index, follow" />
|
<meta name="robots" content="index, follow" />
|
||||||
<meta name="theme-color" content="#0A0A12" />
|
<meta name="theme-color" content="#0A0A12" />
|
||||||
@@ -275,7 +275,7 @@
|
|||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "WebAPI",
|
"@type": "WebAPI",
|
||||||
"name": "AniKotoAPI",
|
"name": "AniKotoAPI",
|
||||||
"description": "Free REST API for anime data. Browse, search, stream episodes. 27+ endpoints, no API key required.",
|
"description": "Free REST API for anime data. Browse, search, stream episodes. 30+ endpoints, no API key required.",
|
||||||
"url": "https://anikototvapi.vercel.app",
|
"url": "https://anikototvapi.vercel.app",
|
||||||
"image": "https://anikototvapi.vercel.app/share.jpg",
|
"image": "https://anikototvapi.vercel.app/share.jpg",
|
||||||
"documentation": "https://github.com/Shineii86/AniKotoAPI",
|
"documentation": "https://github.com/Shineii86/AniKotoAPI",
|
||||||
@@ -323,7 +323,7 @@
|
|||||||
<section class="hero container">
|
<section class="hero container">
|
||||||
<div class="hero-badge"><span class="dot"></span> Free · No API key · Open source</div>
|
<div class="hero-badge"><span class="dot"></span> Free · No API key · Open source</div>
|
||||||
<h1>The <span class="grad">Anime Data</span> API<br/>for Your Next Project</h1>
|
<h1>The <span class="grad">Anime Data</span> API<br/>for Your Next Project</h1>
|
||||||
<p class="hero-sub">Browse, search, and stream anime data from AniKoto. Real-time scraping with 27+ endpoints, in-memory caching, and zero configuration.</p>
|
<p class="hero-sub">Browse, search, and stream anime data from AniKoto. Real-time scraping with 30+ endpoints, in-memory caching, and zero configuration.</p>
|
||||||
<div class="hero-actions">
|
<div class="hero-actions">
|
||||||
<a href="#playground" class="btn btn-primary">
|
<a href="#playground" class="btn btn-primary">
|
||||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="5 3 19 12 5 21 5 3"/></svg>
|
||||||
@@ -367,7 +367,7 @@ fetch("https://anikototvapi.vercel.app/api")
|
|||||||
<section class="stats">
|
<section class="stats">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="stats-grid">
|
<div class="stats-grid">
|
||||||
<div class="reveal"><div class="stat-value grad" data-count="27">0</div><div class="stat-label">API Endpoints</div></div>
|
<div class="reveal"><div class="stat-value grad" data-count="30">0</div><div class="stat-label">API Endpoints</div></div>
|
||||||
<div class="reveal reveal-delay-1"><div class="stat-value grad" data-count="0">0</div><div class="stat-label">API Keys Required</div></div>
|
<div class="reveal reveal-delay-1"><div class="stat-value grad" data-count="0">0</div><div class="stat-label">API Keys Required</div></div>
|
||||||
<div class="reveal reveal-delay-2"><div class="stat-value grad" data-count="40">0</div><div class="stat-label">Anime Genres</div></div>
|
<div class="reveal reveal-delay-2"><div class="stat-value grad" data-count="40">0</div><div class="stat-label">Anime Genres</div></div>
|
||||||
<div class="reveal reveal-delay-3"><div class="stat-value grad">Live</div><div class="stat-label">Real-time Data</div></div>
|
<div class="reveal reveal-delay-3"><div class="stat-value grad">Live</div><div class="stat-label">Real-time Data</div></div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "AniKotoAPI",
|
"name": "AniKotoAPI",
|
||||||
"short_name": "AniKotoAPI",
|
"short_name": "AniKotoAPI",
|
||||||
"description": "Free REST API for anime data. Browse, search, stream episodes. 27+ endpoints, no API key required.",
|
"description": "Free REST API for anime data. Browse, search, stream episodes. 30+ endpoints, no API key required.",
|
||||||
"start_url": "/",
|
"start_url": "/",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"background_color": "#0A0A12",
|
"background_color": "#0A0A12",
|
||||||
|
|||||||
Reference in New Issue
Block a user