View Issue Details

IDProjectCategoryView StatusLast Update
0003263AniDB HTTP APIFeature Requestpublic2020-12-27 19:54
Reporterdbrown369 Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Summary0003263: Add indirectly related anime
DescriptionSeries info already provides directly related series through the 'relatedanime' tag section (is a representation of the 'Directly Related' section on the website) but there is currently no easy way to see all relations to an anime series through the API.

This is easily viewable in the "Relation Table" on the site with "All Related Anime" enabled. http://anidb.net/perl-bin/animedb.pl?show=rel&aid=12569&table=1&all=1

EX: http://anidb.net/perl-bin/animedb.pl?show=anime&aid=12569
##################################################
...
<title xml:lang="x-jat" type="main">Baki (2018)</title>
...
</titles>
<relatedanime>
<anime id="12258" type="Prequel">Baki</anime>
</relatedanime>
...
##################################################

If I was currently to try and pull all related anime to a series, I would have to pull all 5 ids just to pull each's '<relatedanime>' tag info.

This could possibly be added in as a separate new tag '<indirectlyrelatedanime>' on each anime serie's xml. We would probably not want to add this info into '<relatedanime>' as that could cause issues in people already setup with info expectations on this tag. Basically pull in every indirectly related anime's '<relatedanime>' tag info.

EX:
##################################################
...
<title xml:lang="x-jat" type="main">Baki (2018)</title>
...
</titles>
<relatedanime>
  <anime id="12258" type="Prequel">Baki</anime>
</relatedanime>
<indirectlyrelatedanime>
  <anime id="12258" title="Baki">
    <relatedanime>
      <anime id="880" type="Sequel">Grappler Baki: Saidai Tournament Hen</anime>
      <anime id="12569" type="Sequel">Baki (2018)</anime>
    </relatedanime>
  </anime>
  <anime id="1512" title="Grappler Baki">
    <relatedanime>
      <anime id="880" type="Alternative Setting">Grappler Baki: Saidai Tournament Hen</anime>
    </relatedanime>
  </anime>
  <anime id="880" title="Grappler Baki: Saidai Tournament Hen">
    <relatedanime>
      <anime id="453" type="Prequel">Grappler Baki (2001)</anime>
      <anime id="12258" type="Prequel">Baki</anime>
      <anime id="1512" type="Alternative Setting">Grappler Baki</anime>
    </relatedanime>
  </anime>
  <anime id="453" title="Grappler Baki (2001)">
    <relatedanime>
      <anime id="880" type="Sequel">Grappler Baki: Saidai Tournament Hen</anime>
    </relatedanime>
  </anime>
</indirectlyrelatedanime>
...
##################################################
TagsNo tags attached.

Relationships

has duplicate 0003478 closed Provide information used to generate relation graph 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2018-09-18 05:06 dbrown369 New Issue
2018-09-18 05:06 dbrown369 Status new => assigned
2018-09-18 05:06 dbrown369 Assigned To => Ommina
2018-10-02 15:51 DerIdiot Assigned To Ommina =>
2018-10-02 15:51 DerIdiot Status assigned => new
2020-12-27 19:54 DerIdiot Relationship added has duplicate 0003478