This is a basic implementation for a command line interface to the Sendgrid API. It is currently limited to the Spam Reports function.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install sendgrid_cli
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.
config is required to be run before API will work. Config is stored in
- Expand endpoint functionality
- Clean up executable
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request