smartnews for Crystal.
- crystal: 0.33.0
- Add the dependency to your
shard.yml
:
dependencies:
smartnews:
github: maiha/smartnews.cr
version: 0.5.3
- Run
shards install
require "smartnews"
client = Smartnews::Client.new
client.auth = "123456789abcdef"
res = client.get("/api/v1.0/accounts")
puts res.body
$ make test
$ make smartnews