>>> import musicbrainz2.webservice as ws >>> q = ws.Query() >>> f = ws.ArtistFilter(name="something") >>> results = q.getArtists(f) >>> [r.artist.name for r in results] [u'Mr. Something Something', u'Something Happens', u'Something Nice', u'Something Corporate', u'Tree Something', u'Twenty-Something', u'Something Wild', u'Something Fierce', u'Something Anything', u'Something Wicked', u'Something Shocking', u'Fantastic Something', u'Something Wonderful', u'Something J', u'Something Real', u'Something Brothers', u'Something Ska', u'Something Odd', u'Something ELse', u'Timothy Something', u'Something Special', u'Something Beautiful', u'Something Agnes', u'Something Simple', u'Something Good'] >>> [r.score for r in results] [None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None] >>> f = ws.ReleaseFilter(title='test') >>> results = ws.Artist >>> q = ws.Query() >>> results = q.getReleases(f) >>> [(r.release.title, r.score) for r in results] [(u'Test', None), (u'Test', None), (u'Test', None), (u'Test', None), (u'Test', N one), (u'TEST', None), (u'TEST', None), (u'Test', None), (u'Test', None), (u'Tes t', None), (u'Test', None), (u'Test... Test...', None), (u"Test. Don't Test", No ne), (u'Test One / Test Two', None), (u'Fight Test', None), (u'Fight Test', None ), (u'Fight Test', None), (u'Another Test', None), (u'Krach Test', None), (u'Psy ring Test', None), (u'Test Release', None), (u'Test One', None), (u'Alpha Test', None), (u'Test Pattern', None), (u'Personality Test', None)]