The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Shopify::Private - Main object representing private app access to a particular Shopify store.

DESCRIPTION

Inherits all methods from WWW::Shopify, provides additional mechanisms to modify the used password, user-agent and url handler.

METHODS

new(url, api_key, password)

Creates a new WWW::Shopify::Private object, which allows you to make calls via the shopify private app interface.s

encode_url(url)

Modifies the requested url by prepending the api key and the password, as well as the shop's url, before sending the request off to the user agent.

password([new_password])

Gets/sets the app's private password.

ua([new_ua])

Gets/sets the user agent we're using to access shopify's api. By default we use LWP::UserAgent, with a timeout of 5 seconds.

PLEASE NOTE: At the very least, with LWP::UserAgent, at least, on my system, I had to force the SSL layer of the agent to use SSLv3, using the line

        LWP::UserAgent->new( ssl_opts => { SSL_version => 'SSLv3' } );

Otherwise, Shopify does some very weird stuff, and some very weird errors are spit out. Just FYI.

SEE ALSO

WWW::Shopify::Item, WWW::Shopify

AUTHOR

Adam Harrison (adamdharrison@gmail.com)

LICENSE

See LICENSE in the main directory.