sckott / habanero

client for Crossref search API
https://habanero.readthedocs.io
MIT License
207 stars 30 forks source link

Get request url #86

Closed gneotel closed 4 years ago

gneotel commented 4 years ago

Hi, after a request like: cr = Crossref() Crossref(mailto = "dude@gmail.com") x = cr.works(query_author = "DUDE", filter=my_filter) is there a way to get from the Crossref object the complete request url with query and filters? Ideally pasting it on a browser I should get the json results.

It would be really helpful for filters tuning.

Thanks a lot.

sckott commented 4 years ago

Thanks for your question, you can turn on verbose curl output - see "Verbose curl output" section in the docs https://habanero.readthedocs.io/en/latest/modules/crossref.html#

gneotel commented 4 years ago

Thank you!