bheadrick/netsuiterestletoauth

Provides a way to connect to NetSuite Restlets in a restful manner.

v0.1.0 2021-11-16 16:17 UTC

This package is auto-updated.

Last update: 2024-11-16 22:46:43 UTC


README

##Usage use Netsuite\Restlet\OAuth\Client;

$oauth = new Client(
  $consumer_key,
  $consumer_secret,
  $access_token,
  $token_secret,
  $ns_account_id,
  $restlet_script_id,
  $restlet_deploy_id);

$oauth->requestHandler->setBaseUrl($baseurl);

 $resp = $oauth->getRequest();