Skip to content

SpamWatch/spamwatch-cr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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