citeulike_api /

Filename Size Date modified Message
94 B
93 B
309 B
52 B
413 B
1.7 KB
864 B
1.1 KB

CiteULike Client

a python client for Citeulike.

This project has just been spun off possumpalace_kit, my blog engine.

If you notice any problems with paths or dependencies, please file a patch. Or just fork it. I'll make you maintainer in all likelihood, as I'm no longer using CiteULike so very much, having banned myself from spending too much time working around its foibles.

The CUL "API" was pieced together from forum comments made by the CUL staff over time.

e.g. how to


Here is an example of how i use this from my file to write out a bibtex file of all records and download all PDFs:

if options is None: options=globals()['options'] from citeulike.citeulike_api import CiteULike

outjsonpath = path(options.docroot)/options.bibtex_json_file if os.path.isabs(options.attachment_path):

outpdfpath = path(options.attachment_path)
outpdfpath = path(options.docroot)/options.attachment_path
cul = CiteULike(username=options.cul_username,
password=options.cul_pass, json_cache=outjsonpath, attachment_path=outpdfpath

) cul.cache_records() bibtex_string = cul.render('bibtex')

with, 'w', 'utf-8') as bf:


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.