- type: custom-api
title: Raindrop Latest Links
hide-header: true
cache: 1h
url: https://api.raindrop.io/rest/v1/raindrops/0?perpage=50
headers: { Authorization: "Bearer ${RAINDROP_TOKEN}" }
template: |
{{ if .JSON.Bool "result" }}
{{ range .JSON.Array "items" }}
-
{{ $cover := .String "cover" }}
{{ if $cover }}

{{ else }}
{{ end }}
{{ .String "title" }}
#{{ .String "domain" }}
•
{{ $tags := .Array "tags" }}
{{ if $tags }}
•
#{{ (index $tags 0).String "" }}
{{ end }}
{{ end }}
{{ else }}
No bookmarks found or API error.
{{ end }}