NAME

Ixchel::functions::github_releases - Fetches release information for the specified Github repo

VERSION

Version 0.0.1

SYNOPSIS

use Ixchel::functions::github_releases;

my $releases;
eval{ $releases=github_releases(owner=>'mikefarah', repo=>'yq'); };
if ($@) {
    print 'Error: '.$@."\n";
}

Functions

github_releases

The following args are required.

- owner :: The owner of the repo in question.

- repo :: Repo to fetch the releases for.

The following are optional.

- raw :: Return the raw JSON and don't decode it.
    Default :: 0

If the $ENV variables below are set, they will be used for proxy info, but the ones above will take president over that and set the env vars.

$ENV{FTP_PROXY}
$ENV{HTTP_PROXY}
$ENV{HTTPS_PROXY}

Upon errors, this will die.