Loki-Afro / metalarchives

Unofficial Encyclopedia Metallum API
Other
44 stars 12 forks source link

member details vs member trivia #18

Closed Loki-Afro closed 2 years ago

Loki-Afro commented 2 years ago

there seems to be a change on metallums side where the members details are categorizes now in trivia and biography, where biography represents the old world essentially

image

there is currently no way to access the triva of an artist

another example is this one https://www.metal-archives.com/artists/Sami_Albert_Hynninen/1417

image

where there is only trivia, and data can not be retrieved, however way retrieved before since there is a test for that which is currently failing

    @Test
    public void byIdTest() throws MetallumException {
        Member member = API.getMemberById(1417L);

        assertThat(member.getRealName()).isEqualTo("Sami Albert Hynninen");
        assertThat(member.getCountry()).isEqualTo(Country.FI);
        assertThat(member.getGender()).isEqualTo("Male");
        assertThat(member.getProvince()).isEqualTo("Lohja, Uusimaa");
        assertThat(member.getAge()).isGreaterThanOrEqualTo(44);
        assertThat(member.hasPhoto()).isTrue();
        assertThat(member.getAlternativeName()).isNull();
        assertThat(member.getDetails()).isNotEmpty(); <---
        assertThat(member.getLinks()).isNotEmpty();
        assertThat(member.getUncategorizedBands()).isEmpty();
        assertThat(member.getActiveInBands()).isNotEmpty();
        assertThat(member.getPastBands()).isNotEmpty();
        assertThat(member.getMiscBands()).isNotEmpty();
        assertThat(member.getGuestSessionBands()).isNotEmpty();
    }
Loki-Afro commented 2 years ago

trivia is now part of details again