User API Use
complete
Sydney Morgan
Ability for users to easily utilize the Raindrop API. Would make it super simple to utilize Raindrop via “automation” services like Workflow, IFTTT, etc... as well as with programs like AirTable, Drafts, Editorial, Pythonista, etc. Basically, let us do more with the stuff we save please :)
Log In
X
Xavier A
Seems to work perfectly! I just subscribed to pro because of this feature! The documentation currently marks some required fields as optional but the error messages are helpful. Thanks!!!
Rustem Mussabekov
Xavier A: thanks! What those fields? I will fix documentation
X
Xavier A
Rustem Mussabekov: For example on https://developer.raindrop.io/v1/raindrops/single for the "Create raindrop" endpoint, it says that all fields are optional. In fact, you need a title and a link at the very least.
Tony Tong
Xavier A: {"result":false,"error":"title","errorMessage":"Raindrop validation failed: title: Path title is required., domain: Path domain is required., link: Path link is required."}'
I am getting this error message. I tried to provide title, domain and link but still error. Any idea?
X
Xavier A
Tony Tong: How did you provide the title and the link?
Tony Tong
Xavier A: I am using Python requests. Link and tags is provided via cli arguments, for example:
{'link': 'https://theintercept.com/2020/07/31/protests-surveillance-stingrays-dirtboxes-phone-tracking/', 'tags': ['info-sec', 'dev', 'ins'], 'title': 'xxx'}
headers = {"Authorization": "Bearer xxx"}
payload = {'link':link, 'tags':tags, 'title':"xxx"}
r = requests.post('https://api.raindrop.io/rest/v1/raindrop', headers=headers, data=payload)
A
Alter
Tony Tong: Did you resolve this?
I have the exact same issue, using Postman on Linux Mint 19.1
Tony Tong
Alter: Yes. I forgot to json.dump the payload in python.
payload = json.dumps({'link':url, 'tags':tags})
Rustem Mussabekov
complete
Public API is now available!
Documentation: https://developer.raindrop.io
Register your first app: https://app.raindrop.io/#/settings/apps/dev
Please share your feedback!
Rustem Mussabekov
in progress
Robin Hawkes
Rustem Mussabekov: Looking forward to this!
Rustem Mussabekov
planned
Jon
Webhooks would be great too, so updates can be triggered easily. And, for some reason it looks like Diigo and Pinboard IFTTT integrations both limit update triggers to public bookmarks - would be nice if that were not the case, I prefer to keep my marks private.