Skip to content

atsuoishimoto/python-raindropio

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

Python wrapper for Raindrop.io API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages