Open Media Library Platform
This commit is contained in:
commit
411ad5b16f
5849 changed files with 1778641 additions and 0 deletions
8
Shared/lib/python2.7/site-packages/ox/web/openlibrary.py
Normal file
8
Shared/lib/python2.7/site-packages/ox/web/openlibrary.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from ox.cache import read_url
|
||||
from ox.utils import json
|
||||
|
||||
def find(query):
|
||||
url = 'http://openlibrary.org/search.json?q=%s' % query
|
||||
print url
|
||||
data = json.loads(read_url(url))
|
||||
return data
|
||||
Loading…
Add table
Add a link
Reference in a new issue