tumblr-crystal

A shard for using Tumblr

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
Repository

tumblr-crystal

Owner
Statistic
  • 0
  • 1
  • 1
  • 0
  • 1
  • about 7 years ago
  • September 13, 2016
License

MIT License

Links
Synced at

Thu, 07 Nov 2024 06:00:28 GMT

Languages