python-raindropio
Python wrapper for Raindrop.io API.
This library is in the early stage of development.
Requirements
- Requires Python 3.7 or later.
Install
pip3 install python-raindropio
Usage
You must register your application at https://app.raindrop.io/settings/integrations. In the application page, create test token to run following samples.
- Create collection
from raindropio import API, Collection
api = API(raidrop_access_token)
c = Collection.create(api, title="Sample collection")
print(c.title)
- Search bookmarks from Unsorted collection.
from raindropio import API, CollectionRef, Raindrop
api = API(raidrop_access_token)
page = 0
while (items:=Raindrop.search(api, collection=CollectionRef.Unsorted, page=page)):
print(page)
for item in items:
print(item.title)
page += 1
License
Copyright 2020 Atsuo Ishimoto
See LICENSE for detail.
Metadata
Release files for python-raindropio 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_raindropio-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / python_raindropio-0.0.4-py3-none-any.whl
| Download URL | python_raindropio-0.0.4-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4880928e7b314cc7eb1880bab260af7f4fa5e56cb95777c0e925e5bffe57f927
|
|
BLAKE2b-256 checksum How to use checksums |
e26afa562b8a1d6080129ecc82620bd55078b9be236cc4aca49b29f5c2e214a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
|