Adding a "hello world" test file to test basic functionality of pyzotero
parent
6c21074ee7
commit
16d8716f87
|
@ -0,0 +1,9 @@
|
||||||
|
from zoteroconf import user_id, user_key
|
||||||
|
|
||||||
|
# http://pyzotero.readthedocs.org/en/latest/index.html
|
||||||
|
|
||||||
|
from pyzotero import zotero
|
||||||
|
zot = zotero.Zotero(user_id, user_key)
|
||||||
|
items = zot.items()
|
||||||
|
for item in items:
|
||||||
|
print 'Author: %s | Title: %s' % (item['creators'][0]['lastName'], item['title'])
|
Loading…
Reference in New Issue