Hello ๐, I'm Oussama Essamadi, EOussama for short.
eoussama / anusic-api Goto Github PK
View Code? Open in Web Editor NEWAnime themes API.
Home Page: https://anusic-api.herokuapp.com/api/v1/
License: MIT License
Anime themes API.
Home Page: https://anusic-api.herokuapp.com/api/v1/
License: MIT License
Hello ๐, I'm Oussama Essamadi, EOussama for short.
There needs to be a constant, predictable object that contains the data and some additional info.
Something like this:
{
"hasError": false,
"error": { "name": "", "description": "" },
"data": {}
}
Errors:
When an Anime title is clicked, a model containing all info and themes should be opened.
[ ] Console logs
[ ] Log dumps
If no requested info was found, attempt scrapping, if anything was found update the cache.
GetAnimeInfoByID
Lyrics should be:
https://www.animesonglyrics.com/
It appears that the AnimetThemes subreddit has removed their wiki, which has caused the API to stop working.
Fortunately, I had a sizable cache that was designed to help in situations like this. However, as long as we continue to rely on this cache, the content provided by the API will be limited to late 2022 and earlier.
I'm currently exploring other options to restore the full functionality of the API and will keep the community updated on any developments.
Add a franchise endpoint that returns said franchise with linked Anime titles.
Alt names should be comma-separated.
Name the log file after the timestamp.
Type tabs should be stickied to top.
Request analytics that can either be logged into a file to access from a third-party platform.
logs
routelogs/:id
routeRequests often exceed the timeout time and end up missing on a chunk of scraped data.
Tabs that have nothing to display shouldn't be displayed in the first place.
Describe the bug
Logger always outputs the host file instead of the initiator file.
To Reproduce
Steps to reproduce the behavior:
Log
from any fileAdd query params to /anime
that allows for searching by name and year.
searching by name should also take alt names into consideration.
Both secondary name and collection name come inside an immediate paragraph after the title.
The only difference is that the collection name is contained inside of a strong
tag.
Add theme variant.
A single audio layer should be displayed in the footer of the modal.
This should decrease the strain and requests to the theme's repository.
Consider using maps.
Transform the app into a PWA.
To avoid spamming the scrapping targets, there needs to exist a caching workaround that does not utilize any in-memory caching libraries. Dumping the data in a JSON file would do the trick.
The dump file should be updated frequently, based on a scheduler of a 1-day interval would be preferable.
Only add the modal when an entry is clicked.
Display the number of themes available for an Anime title given the type and the collection.
With issue #34 the returned data's structure will be changed, the demo app should take the change into consideration.
Logs should be dumped somewhere including all errors and warnings.
Opening/ending players of the same index overlap eachother.
Return something instead of an empty object
Splitting code and asyncrpnizing calls
Description
Raise a warning if the fetched info does not match the total scrapped Anime titles.
Empty collections can be hidden.
Convert altName into a list
Anime titles pre-2000 are scrapped as XXs
, thus parsing them into a number type backfires.
Example: http://anusic-api.herokuapp.com/api/v1/anime/21
returns {"id":21,"name":"One Piece","altNames":["Original Japanese Version"],"year":0}
Cache themes, articles, and Anime separately.
Description
Anime title themes
Structure
The name of the theme
The associated Anime MAL ID
The type of the theme (Opening or Ending)
The chronological order of the opening (1, 2, ...)
List of the theme's link info
The link to the theme song
The format of the source (Webm...)
The video resolution (1080, 480...)
Whether it has lyrics
Whether the episode transitions into the ending song
Is the theme laid over the episode
Whether the theme contains spoilers
Whether the theme has NSFW content
The episodes in which this theme is featured
Add versioning for future proofing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.