View Issue Details

IDProjectCategoryView StatusLast Update
0003446AniDB HTTP APIFeature Requestpublic2020-06-03 07:24
ReporterJoshGerdes Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Summary0003446: Song title missing from Episode Data for openings and endings
DescriptionCurrently, when making a request for the Data of a particular Anime using the HTTP API (as shown at https://wiki.anidb.net/HTTP_API_Definition#Data), the API returns information like the Main Title, Rating, and Episode Number.
For example, this is what is returned for the first opening of Tensei Shitara Slime Datta Ken/That Time I Got Reincarnated as a Slime (https://anidb.net/episode/208850) when calling with http://api.anidb.net:9001/httpapi?request=anime&client={str}&clientver={int}&protover=1&aid={int}

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
</episode>

However, at least for openings and endings, it would be useful to have a way to also know the Main Title of the song that is associated with that episode. In the above example, the AniDB page shows that the song title is "Nameless Story".
So it would be helpful if there was something like this returned instead:

<episode id="208850" update="2018-10-02">
<epno type="3">C1</epno>
<length>2</length>
<airdate>2018-10-02</airdate>
<rating votes="4">7.36</rating>
<title xml:lang="en">Opening 1</title>
<song>Nameless Story</song>
</episode>

The reason this change would be useful is because when displaying openings and endings, the typical name of the episode like "Opening 1", "Opening 2", etc is not necessarily that useful for distinguishing between all the other openings or endings, while the song name tends to be more unique. This way the caller would have the option to show something like "Opening 1 - Nameless Story" instead of just "Opening 1" as the episode title if desired. This would especially help with long running series like for example, One Piece (https://anidb.net/anime/69), which currently has 22 openings and 19 endings in AniDB (not including same song variants).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-06-02 23:23 JoshGerdes New Issue
2020-06-02 23:23 JoshGerdes Status new => assigned
2020-06-02 23:23 JoshGerdes Assigned To => Ommina
2020-06-02 23:23 JoshGerdes Description Updated
2020-06-02 23:24 JoshGerdes Description Updated
2020-06-02 23:24 JoshGerdes Description Updated
2020-06-03 07:24 DerIdiot Assigned To Ommina =>
2020-06-03 07:24 DerIdiot Status assigned => new