tumblr

Version, currently master branch1 version
  • master branchlatestOct 7, 2017

github.com/piedoom/tumblr-crystal

A shard for using Tumblr

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  tumblr:
    github: piedoom/tumblr-crystal
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
no constraint declared
License
MIT
Author
doomy <a>

Dependencies

Runtime Dependencies

  • cossack~> 0.1github: crystal-community/cossack

README

# tumblr

[![Build Status](https://travis-ci.org/piedoom/tumblr-crystal.svg?branch=master)](https://travis-ci.org/piedoom/tumblr-crystal)

The unofficial Tumblr client for Crystal

## Installation


Add this to your application's `shard.yml`:

```yaml
dependencies:
  tumblr:
    github: piedoom/tumblr-crystal
```

## Timeline

#### Tumblr Simple

- [x] Simple BasePost implementation with parameters
- [ ] Fetch different post types

#### Tumblr v2 API

- [x] Implement OAuth 1.0a
- [ ] Proper error checking
- [ ] Allow reading of all currently available material
  - [ ] User Methods
    - [x] 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).  

```crystal
require "tumblr"
```

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

```cr
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](https://github.com/piedoom) - creator, maintainer