Wrapper for Get a Newsletter api.
//get all resources
$contacts = GetaNewspaper::contacts()->get();
//get specific resource
$contact = GetaNewspaper::contacts("test@[email protected]")->get();
//create resource
$contact = GetaNewspaper::contacts()->post(["email" => "test@[email protected]"]);
//update resource
$contact = GetaNewspaper::contacts("test@[email protected]")->put(["first_name" => "John"]);
//delete resource
GetaNewspaper::contacts("test@[email protected]")->delete);
The MIT License (MIT). Please see License File for more information.