fabiobatalha / crossrefapi

A python library that implements the Crossref API.
BSD 2-Clause "Simplified" License
280 stars 44 forks source link

support for select parameter #7

Closed gbilder closed 7 years ago

gbilder commented 7 years ago

We have added a select parameter that allows one finer control of response sizes. The following, for example, will only return the DOI and title for each matching record.

http://api.crossref.org/works?sample=10&select=DOI,title

fabiobatalha commented 7 years ago

@gbilder

What is your suggestions of use?

eg 1:

Works().select(['DOI', 'title'])

eg 2:

Works().select('DOI', 'title')

eg 3:

Works().select('DOI').select('title')

eg 4:

Works().select('DOI, title')

eg 5:

support all of the previous samples