PHP code example of rajinha92 / guiadosoftware-sdk
1. Go to this page and download the library: Download rajinha92/guiadosoftware-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rajinha92 / guiadosoftware-sdk example snippets
$api = new Api('http://guiadosoftware.com', '<YOUR_TOKEN>');
$api->attributeType()->get();
$attributeType = new AttributeType();
$attributeType->setDescription('Test')
->setShortDescription('Short Test');
$api->attributeType()->store($attributeType);