WebService::SendGrid::Profile - The Profile class for your SendGrid account
version 1.02
use WebService::SendGrid::Profile; my $profile = WebService::SendGrid::Profile->new( api_user => 'jlloyd', # same username for logging into the website api_key => 'abcdefgh123456789', # same password for logging into the website ); print 'The username for your account is ' . $profile->username; print 'The email for your account is ' . $profile->email; $profile->address('123 Fake Street'); $profile->city('Faketown'); $profile->set; # store the new profile to SendGrid # update the username on your account $profile->setUsername('jlloyd'); # update the password on your account $profile->setPassword('123456789'); # update the email address on your account $profile->setEmail('jlloyd@cpan.org');
1;
Allows you to view/update your SendGrid profile using their Web API
Jonathan Lloyd <webmaster@lifegames.org>
This software is copyright (c) 2011 by Jonathan Lloyd <webmaster@lifegames.org>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install WebService::SendGrid, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::SendGrid
CPAN shell
perl -MCPAN -e shell install WebService::SendGrid
For more information on module installation, please visit the detailed CPAN module installation guide.