The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WWW::Shopify::Multiplexer - Object representing a group of Shopify APIs, which are multiplexed to increase your call limit.

METHODS

new($shop_url, $email, $pass, $app_count)

Creates a new shop, without using the actual API, uses automated form submission to log in. Then creates $app_count private apps in the store to use as slaves to conduct business.

In order to make sure that these extra apps don't end up clogging up your shop, we keep track of all nests, and make sure to delete all the apps at END time.

use_url($self, $method, $url, $specs, $hash)

Determines whether we've hit the call limit. If we have, reperforms the call with a new API.

If the entire stack of APIs is exhausted, we die with the original error.