code: public function api()
      {
          $apiClass = Config::get('shopify-app.api_class');
          $api = new $apiClass();
          $api->setApiKey(Config::get('shopify-app.api_key'));
          $api->setApiSecret(Config::get('shopify-app.api_secret'));
  
          // Add versioning?
          $version = Config::get('shopify-app.api_version');
          if ($version !== null) {
              $api->setVersion($version);
          }
  
          // Enable basic rate limiting?
          if (Config::get('shopify-app.api_rate_limiting_enabled') === true) {
              $api->enableRateLimiting(
                  Config::get('shopify-app.api_rate_limit_cycle'),
                  Config::get('shopify-app.api_rate_limit_cycle_buffer')
              );
          }
  
          return $api;
      }
docs: Gets an API instance.
  
  @return \OhMyBrew\BasicShopifyAPI