API-Name

 view release on metacpan or  search on metacpan

README.mkdn  view on Meta::CPAN

    my $results = $name->fetch(%args);

    # or

    $name->GET(%args);

The fetch method issues a `GET` request to the API resource represented by the
object. The arguments, expected to be a list of key/value pairs, will be
included in the request if the key is either `data` or `query`.

## update

    my $results = $name->update(%args);

    # or

    $name->PUT(%args);

The update method issues a `PUT` request to the API resource represented by
the object. The arguments, expected to be a list of key/value pairs, will be
included in the request if the key is either `data` or `query`.

# RESOURCES

## account

    $name->account;

The account method returns a new instance representative of the API
_account_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## dns

    $name->dns;

The dns method returns a new instance representative of the API
_dns_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## domain

    $name->domain;

The domain method returns a new instance representative of the API
_domain_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## host

    $name->host;

The host method returns a new instance representative of the API
_host_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## login

    $name->login;

The login method returns a new instance representative of the API
_login_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## logout

    $name->logout;

The logout method returns a new instance representative of the API
_logout_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

## order

    $name->order;

The order method returns a new instance representative of the API
_order_ resource requested. This method accepts a list of path
segments which will be used in the HTTP request. The following documentation
can be used to find more information. [https://www.name.com/reseller/API-documentation](https://www.name.com/reseller/API-documentation).

# AUTHOR

Al Newkirk <anewkirk@ana.io>

# COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.



( run in 1.025 second using v1.01-cache-2.11-cpan-39bf76dae61 )