I hereby claim:
- I am mindfuckup on github.
- I am emanuelduss (https://keybase.io/emanuelduss) on keybase.
- I have a public key whose fingerprint is 63E7 364A 7180 A32A 5D7D 050D 5926 DE96 A497 5B00
To claim this, I am signing this object:
#!/usr/bin/env python | |
import json, sys | |
from urllib.request import urlopen | |
API='http://xisbn.worldcat.org/webservices/xid/isbn/{isbn}?method=getMetadata&format=json&fl=*' | |
OPT_KEYS = ['author', 'city', 'ed', 'form', 'lang', 'lccn', | |
'originalLang', 'publisher', 'year'] | |
def get_metadata(isbn): | |
rawjson = urlopen(API.format(isbn=isbn)).readall().decode('utf-8') |
I hereby claim:
To claim this, I am signing this object: