Skip to content

SpamWatch/spamwatch-cr

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published