Popularity
2.7
Declining
Activity
4.3
Growing
5
2
3

Programming language: Crystal
License: MIT License
Tags: Third-party APIs    
Latest version: v0.4.0

pinboard.cr alternatives and similar shards

Based on the "Third-party APIs" category.
Alternatively, view pinboard.cr alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pinboard.cr or a related project?

Add another 'Third-party APIs' Shard

README

pinboard

Build Status

A crystal client for the Pinboard API.

Installation

Add this to your application's shard.yml:

dependencies:
  pinboard:
    git: https://git.cypr.io/oz/pinboard.cr.git

Usage

require "pinboard"

pinboard = Pinboard::Client.new(token: "my secret token")
posts = pinboard.recent
if posts.is_a?(Pinboard::Error)
  puts posts.to_s
else
  posts.each do |post|
    puts "#{post.title}\n  url:#{post.url}\n  tags: #{post.tags.join(",")}\n"
  end
end

Pinboard returns either a Pinboard::Error, or something else. Check the tests to be sure.

Contributing

  1. Clone https://git.cypr.io/oz/pinboard.cr.git,
  2. Create your feature branch (git checkout -b my-new-feature),
  3. Commit your changes (git commit -am 'Add some feature'),
  4. Create a patch (git format-patch origin),
  5. Send patch to [email protected].

Contributors

  • oz Arnaud Berthomier - creator, maintainer