Crystal adapter to the SpamWatch API
-
Add the dependency to your
shard.yml
:dependencies: spamwatch: github: spamwatch/spamwatch-cr
-
Run
shards install
require "spamwatch"
token = ENV["SPAMWATCH_TOKEN"]
client = SpamWatch::Client.new(token)
me = client.get_self
ban = client.get_ban(835061938)
- Fork it (https://github.com/spamwatch/spamwatch-cr/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Chris Watson - creato-crr and maintainer