fabiobatalha / crossrefapi

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

add timeout configuration. #36

Closed Ankush-Chander closed 3 years ago

Ankush-Chander commented 3 years ago

I have added a timeout parameter in the requests so that user can set it based on his own requirement instead of relying on default values.

Example usage:

works = Works(timeout=30)
w1 = works.doi("10.1007/BF01827854")

I believe this will resolve #31 Please review.