twcrl

Version, currently master branch1 version
  • master branchlatestAug 31, 2017

github.com/kenta-s/twcrl

curl like CLI for Twitter API, inspired by Twurl

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  twcrl:
    github: kenta-s/twcrl
    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
0.23.1
License
MIT
Author
kenta-s
Target
  • twcrl from src/twcrl.cr

Dependencies

This version declares no dependencies.

README

twcrl

curl like CLI for Twitter API. Inspired by Twurl.

Installation

$ git clone git@github.com:kenta-s/twcrl.git
$ cd twcrl
$ crystal build src/twcrl.cr --release

Usage

Authorize the app

$ ./twcrl authorize --consumer-key key --consumer-secret secret

Make GET request

$ ./twcrl /1.1/home_timeline.json

Make POST request

$ ./twcrl /1.1/statuses/update.json -x post -d "hello"

Contributing

  1. Fork it ( https://github.com/kenta-s/twcrl/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

  • kenta-s kenta-s - creator, maintainer