Official SDK for php

1.0.2 2020-10-12 10:35 UTC

This package is auto-updated.

Last update: 2024-04-12 19:15:17 UTC


README

Official SDK for php

How to use

// Call the main class this this
$Sketcher = new \Sketcher\SDK\Main;

// Define the defaults variables
$Sketcher->SetBaseUri("The API url");
$Sketcher->SetToken("You app token");

// Enjoy!
$Endpoints 		= $Sketcher->Request("GET", "/endpoints");
$SomeRequest 	= $Sketcher->Request("PUT", "/some-request", [
    "hello" => "world!"
]);