Skip to content

libryder/sendgrid_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SendgridCli

Build Status

This is a basic implementation for a command line interface to the Sendgrid API. It is currently limited to the Spam Reports function.

Installation

Add this line to your application's Gemfile:

gem 'sendgrid_cli'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sendgrid_cli

Usage

Sendgrid spam reports utility.

Allows you to manage and view your list of spam reports.

sendgrid config user <api_username>    :: Configure api username for gem use
sendgrid config pass <api_secret>      :: Configure api password for gem use
sendgrid get [<email>]                 :: Get entire list or single blocked recipient.
sendgrid delete <email>                :: Delete single recipient from blocked recipient list.

####Note config is required to be run before API will work. Config is stored in

~/.sendgrid_cli.yaml

####Todo

  • Expand endpoint functionality
  • Clean up executable

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Simple CLI interface into Sendgrid's Web API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages