Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 511 Bytes

README.cr.md

File metadata and controls

41 lines (28 loc) · 511 Bytes

smartnews for Crystal.

  • crystal: 0.33.0

Installation

  1. Add the dependency to your shard.yml:
dependencies:
  smartnews:
    github: maiha/smartnews.cr
    version: 0.5.3
  1. Run shards install

example

require "smartnews"

client = Smartnews::Client.new
client.auth = "123456789abcdef"
res = client.get("/api/v1.0/accounts")
puts res.body

Development

test

$ make test

build

$ make smartnews