class

Pinboard::Client

Inherits Reference / Object

Constructors

new(token, transport : Transport::Base = Transport::HTTP.new)
Source

Instance methods

add(post : Post)

Add a bookmark, but don't replace if it already existed.

Source
add!(post)

Add a bookmark, always replacing it.

Source
dates(tags = nil)
Source
delete(url)

Delete a bookmark by URL.

Source
get(date : Time | Nil = nil, tags : Array(String) | Nil = nil, meta = false)

Find posts by tag, or date.

Source
get(url)

Get a single Post by URL.

Source
last_update

Returns the most recent time a bookmark was added, updated or deleted.

Source
posts(tags = nil, page = 0, start_at = nil, end_at = nil)
Source
recent(tags = nil, count = 15)

Returns a list of the user's most recent posts, filtered by tag.

Source
transport
Source
transport=(transport : Pinboard::Transport::Base)
Source