Skip to content

Thin and lightweight interface for Zendesk's API

Notifications You must be signed in to change notification settings

garu/Net-Zendesk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Net::Zendesk

Net::Zendesk is a thin and lightweight interface for Zendesk's API.

    use Net::Zendesk;

    my $zen = Net::Zendesk->new(
        domain => 'obscura.zendesk.com',
        email  => 'yourvaliduser@example.com',
        token  => 'your_valid_zendesk_api_token',
    );

    $zen->create_ticket(
        {
            requester => {
                name  => 'The Customer',
                email => 'thecustomer@example.com',
            },
            subject => 'My printer is on fire!',
            comment => {
                body => 'The smoke is very colorful.'
            },
        },
        async => 'true',
    );

    my $result = $zen->search({
        status   => 'open',
        priority => { '>=' => 'normal' },
        created  => { '>' => '2017-01-23', '<' => '2017-03-01' },
        subject  => 'photo*',
        assignee => undef,
        -tags    => 'invoice',
    });

For complete usage information, please refer to the full documentation.

Installation

cpanm Net::Zendesk

or

cpan Net::Zendesk

or, manually:

perl Makefile.PL && make && make test && make install

Author

Breno G. de Oliveira garu at cpan.org

About

Thin and lightweight interface for Zendesk's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages