lynnntropy / Koyomi

A web app that lets you add the weekly anime you're watching to your Google Calendar.
https://koyomi.veselin.xyz/
GNU General Public License v3.0
10 stars 2 forks source link

Suggestion! Set end date for recurrence! #1

Open DevScyu opened 5 years ago

DevScyu commented 5 years ago

If you used an API such as https://anilist.github.io/ApiV2-GraphQL-Docs/query.doc.html you would be able to get the start, end and how many episodes the anime has! Also how long each anime actually airs for rather than a default 30 mins.

This would be amazing if this was implemented as it could provide more accurate calendars ;3

lynnntropy commented 5 years ago

Hi, thanks for the suggestion.

The reason I didn't use something like AniList's API is that, above anything else, I wanted to show simulcast air times (i.e. what the vast majority of Western viewers expect to get) rather than Japanese air times, and all of these sites seem to only keep track of the latter. Hence, I had to settle for HorribleSubs' website as a data source instead, which basically only gives you the name of the show and its scheduled air time.

For multiple reasons it'd be great if I could switch to some sort of API as a data source instead, both for the additional data and the fact that I wouldn't be relying on something as fragile as scraping a website for the app's core functionality, but there doesn't seem to be a public API out there that fits this project's needs right now, so it is what it is.