To run "consumer.py" please follow the instructions:
- Create an account on PLOS API
- Sign in here and click on your account name. Retrieve your API key.
- Create a new file in the folder named "settings.py". In the file, put
API_KEY = (your API key)
Sample API query: http://api.plos.org/search?q=publication_date:[2015-01-30T00:00:00Z%20TO%202015-02-02T00:00:00Z]&api_key=ayourapikeyhere&rows=999&start=0