Closed gbilder closed 7 years ago
Great library. But just discovered that sample doesn't work when combined with a filter.
w = Works().filter(type='journal-article').sample(5).url w
returns
'https://api.crossref.org/works?sample=5'
Would expect something like this:
http://api.crossref.org/works?filter=type:journal-article&sample=5
Great library. But just discovered that sample doesn't work when combined with a filter.
returns
'https://api.crossref.org/works?sample=5'
Would expect something like this:
http://api.crossref.org/works?filter=type:journal-article&sample=5