bheadrick / netsuiterestletoauth
Provides a way to connect to NetSuite Restlets in a restful manner.
v0.1.0
2021-11-16 16:17 UTC
Requires
- php: >=5.3.0
- eher/oauth: 1.0.*
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();