spamwatch

Version, currently master branch1 version
  • master branchlatestNov 5, 2019

github.com/spamwatch/spamwatch-cr

No description declared in shard.yml.

3 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  spamwatch:
    github: spamwatch/spamwatch-cr
    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.31.1
License
MIT
Author
Chris Watson

Dependencies

This version declares no dependencies.

README

spamwatch.cr

Crystal adapter to the SpamWatch API

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      spamwatch:
        github: spamwatch/spamwatch-cr
  2. Run shards install

Usage

require "spamwatch"

token = ENV["SPAMWATCH_TOKEN"]
client = SpamWatch::Client.new(token)

me  = client.get_self
ban = client.get_ban(835061938)

Contributing

  1. Fork it (https://github.com/spamwatch/spamwatch-cr/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