namespace App;
use SahusoftCom\ArticleBuilderService;
use SahusoftCom\XMLRPClientWordpress;
class NewService
{
// Example to use ArticleBuilder Service
public function firstMethod()
{
$object = new ArticleBuilderService($username, $password);
$object->authenticate();
}
// Example to use XMLRPClientWordpress Service
public function secondMethod()
{
$object = new XMLRPClientWordpress($xmlrpccurl, $username, $password);
$blogId = $object->createPost($title, $body, $category, $keywords, $encoding);
}
Returns:
[Key] [Value]
success true
output (the category list--PHP array or XML table)
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.