A shard for using Tumblr
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
console
spec
src
.gitignore
.travis.yml
LICENSE
README.md
shard.yml

README.md

tumblr

Build Status

The unofficial Tumblr client for Crystal

Installation

Add this to your application's shard.yml:

dependencies:
  tumblr:
    github: piedoom/tumblr-crystal

Timeline

Tumblr Simple

  • Simple BasePost implementation with parameters
  • Fetch different post types

Tumblr v2 API

  • Implement OAuth 1.0a
  • Proper error checking
  • Allow reading of all currently available material
    • User Methods
      • Info
      • Dashboard
      • Likes
      • Following
      • Like
      • Unlike
      • Follow
      • Unfollow
      • Reblog
      • Delete
      • Get Tagged
    • Blog Methods
      • Info
      • Avatar
      • Likes
      • Following
      • Like
      • Unlike
      • Follow
      • Unfollow

Usage

The Tumblr shard is very much a work in progress. The Tumblr V1 API will be implemented first (as it less complex and doesn't require OAuth).

require "tumblr"

Currently, only the unauthenticated V1 API is beginning to be implemented. You can get a blog's feed like so:

a = Tumblr::Simple::Client.get_all("staff")
puts a.inspect

Contributing

  1. Fork it ( https://github.com/piedoom/tumblr-crystal/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • doomy - creator, maintainer