Loki-Afro / metalarchives

Unofficial Encyclopedia Metallum API
Other
44 stars 12 forks source link

Cannot resolve method 'get' in 'iterable' #15

Closed primitiveai closed 2 years ago

primitiveai commented 2 years ago

Hi, I'm trying out your library and I'm facing the above error with the example code. In particular, here is the line: Track track = new TrackSearchService(true).getFully(query).get(0);

Loki-Afro commented 2 years ago

Hi there, yes this was changed from a list to an iterable, to "have lazy loading on demand".

i updated the readme, thanks for the hint!