sckott / habanero

client for Crossref search API

Home Page:https://habanero.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrossRef API has deprecated `query.title` in favour of `query.biliographic`

jvansan opened this issue · comments

It seems that the CrossRef API has removed the query.title URL as I am now getting a 400 error code.

{"status":"failed","message-type":"validation-failure","message":[{"type":"unknown-parameter","value":"query.title","message":"Parameter query.title has been deprecated. Please use query.bibliographic instead. See https://status.crossref.org/incidents/4y45gj63jsp4 "}]}

The URL listed in the returned JSON says that the query.title endpoint has been blocked now. It seems that all instances of query.title can be replaced with query.bibliographic but this should be verified.

This is also reflected in their docs:
CrossRef/rest-api-doc@d28ff01

Although I tried to double check, I'm sorry if this is a duplicate.

thanks @jvansan for this!

i can replicate the issue, fixing now

reinstall from here and let me know if it works sudo pip install git+git://github.com/sckott/habanero.git#egg=habanero