Skip to main content

Python wrapper for's API

Project description


  • pit optional. See You might love it ;)


$ pip install pydiigo


Download pydiigo and extract it, then

$ sudo python install


You might get 503 Error, because of Diigo’s API limit.


api needs diigo API KEY generate api key via

required python version 2.6, 2.7, 3.2, 3.3


Update Bookmark is deprecated and raise DeprecationWarning.


Initialize API

>>> from pydiigo import DiigoApi
>>> api = DiigoApi(user='YOUR_DIIGO_USERNAME', password='YOUR_DIIGO_PASSWORD', apikey='YOUR API KEY')

Search Bookmarks

>>> bookmarks = api.bookmarks_find(users='DIIGO_USER_NAME')
>>> for bookmark in bookmarks:
...   print(bookmark.title)
...   print(bookmark.url)
...   print(bookmark.tags)
...   print(bookmark.desc)
...   print('-' * 10)
  • Bookmark Structure

    • title (string)

    • url (string)

    • user (string)

    • desc (string: description)

    • tags (string: Seperated by comma with multiple tags.)

    • shared (string: yes or no)

    • created_at (string: eg.2009/03/04 02:57:09 +0000)

    • updated_at (string: eg.2009/03/04 02:57:09 +0000)

    • comments (string array)

    • annotations (string array)

Add Bookmark

>>> result = api.bookmark_add(title='', description='',url='', shared='yes', tags='')
>>> print(result['message'])
added 1 bookmark
  • required arguments

    • url

Delete Bookmark

>>> result = api.bookmark_delete(url='')
>>> print(result['message'])
updated 1 bookmark
  • required arguments

    • url

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydiigo-0.5.tar.gz (5.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page