Requirements
pit optional. See diigotest.py. You might love it ;)
instllation
$ pip install pydiigo
or
Download pydiigo and extract it, then
$ sudo python setup.py install
Notes
You might get 503 Error, because of Diigo’s API limit.
v.0.5
api needs diigo API KEY generate api key via https://www.diigo.com/api_keys/new/
required python version 2.6, 2.7, 3.2, 3.3
v.0.2
Update Bookmark is deprecated and raise DeprecationWarning.
Usage
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
Metadata
Release files for pydiigo 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydiigo-0.5.tar.gz | 5.4 kB | Without provenance | Details for pydiigo-0.5.tar.gz |
Release files / pydiigo-0.5.tar.gz
| Download URL | pydiigo-0.5.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
361fc2f6e82749fe3e55d3799dd61003adf2ace58846f32c7767ed3570baa790
|
|
BLAKE2b-256 checksum How to use checksums |
4e09ccb0b407f52ece46d9962294eacdd2721810bca69dd6bb9aca407c04ecbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pydiigo 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.