cernopendata / cernopendata-client

CERN Open Data command-line client
http://cernopendata-client.readthedocs.io/
GNU General Public License v3.0
10 stars 9 forks source link

get-record --doi fixme #6

Closed tiborsimko closed 5 years ago

tiborsimko commented 5 years ago

Current behaviour:

$ cernopendata-client get-record --doi fixme | head -10
Record with given doi does not exist.
{
    "created": "2019-07-18T04:51:25.556890+00:00",
    "id": 1,
    "links": {
        "bucket": "http://opendata.cern.ch/api/files/5266a82b-96f1-43a8-874e-b51c1c87d43c",
        "self": "http://opendata.cern.ch/api/records/1"
    },
...

Expected behaviour:

Should just fail and not print any record=1 JSON afterwards.