🚩 ANIMEFREAK API (version 1.0.2)
Animefreak is a custom API that provides data from the
animefreak.tvwebsite. You will have access to the entire catalog whether movies, series, current episodes, genres, search content, etc. with English subtitles.
🎉 Updates in version v1.0.2 🎉
- Technique used by the animefreak page to obtain the real src of the mp4. Therefore, most src should now work and reproduce correctly.
🚀 Custom animefreak API Link
🔧 Developer usage
Set up project
Before cloning the repo be sure you have installed:
- Choose a folder project in your system and switch in
cd [folder path]
- Clone the repo in your folder path
git clone https://github.com/ChrisMichaelPerezSantiago/animefreak.git
In order to install the project and all dependencies, enter in the project folder and run
Start Local Node/Express Server
npm run start
npm run dev
Testing API Methods
npm run dev-api
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
const api = ;
📣Read this please | To get the videos!📣
To get the videos (mp4) of each chapter, you only need to use the
api.animeVideoHandler function that receives the id of the episode as a parameter.
To verify the id of each episode, look at the episodes property:
You just have to pass the
id of the episode
// 20191209122332// http://localhost:5000/api/v1/AnimeVideoHandler/tokyo-ghoul/episode/episode-12
Now you just need to use the
mp4 property of each
episodes id and pass it to the video element
Your browser does not support HTML5 video.
// 20191209123206// http://localhost:5000/api/v1/OngoingAnime
// 20191209123320// http://localhost:5000/api/v1/Popular
// 20191209123421// http://localhost:5000/api/v1/LatestEpisodes/1
// 20191209123713// http://localhost:5000/api/v1/Movies/1
// 20191209123814// http://localhost:5000/api/v1/Ova/1
// 20191209124004// http://localhost:5000/api/v1/TV/1
// 20191209124113// http://localhost:5000/api/v1/search/tokyo
api.genres([genre] , [page])
// 20191209124512// http://localhost:5000/api/v1/Genres/action/1
- Chris Michael (Project Leader, and Developer)
This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may not be a good fit for your project(s).
❤️ Show your support
Please ⭐️ this repository if you like it or this project helped you!
Feel free to open issues or submit pull-requests to help me improving my work.
Copyright © 2019 Chris Michael.