eoussama / anusic-api

Anime themes API.
https://anusic-api.herokuapp.com/api/v1/
MIT License
5 stars 0 forks source link

Year type parse #12

Closed eoussama closed 3 years ago

eoussama commented 3 years ago

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}

eoussama commented 3 years ago

The line in question

What do you think @hilolo ? The year field serves nothing special, so it can be comited.