Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atsuoishimoto/python-raindropio
Python wrapper for Raindrop.io API.
https://github.com/atsuoishimoto/python-raindropio
Last synced: 6 days ago
JSON representation
Python wrapper for Raindrop.io API.
- Host: GitHub
- URL: https://github.com/atsuoishimoto/python-raindropio
- Owner: atsuoishimoto
- License: mit
- Created: 2020-05-26T11:46:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T01:20:29.000Z (about 2 years ago)
- Last Synced: 2024-12-23T13:50:28.262Z (19 days ago)
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 40
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- project-awesome - atsuoishimoto/python-raindropio - Python wrapper for Raindrop.io API. (Python)
README
# python-raindropio
Python wrapper for [Raindrop.io API](https://developer.raindrop.io/).
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
```python
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.
```python
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.