Skip to content

PHP classes for the LiteBlog API. One class for a VenomFramework application and one class for any other application.

License

Notifications You must be signed in to change notification settings

MrHodge/LiteBlogAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiteBlogAPI

PHP classes for the LiteBlog API. One class for a VenomFramework application and one class for any other application.

Example Usage

require 'LiteBlogAPI.php'; //In the VenomFramework application use models\LiteBlogAPI instead of require.
$liteBlogAPI = new LiteBlogAPI('https://blog.example.com/api/', 'your-api-key-here');
$posts = $liteBlogAPI->getPosts();
foreach ($posts as $post) {
	echo "<h1> " . $post->title . "</h1>";
	echo $post->content;
	echo "<br><br><br>";
}

About

PHP classes for the LiteBlog API. One class for a VenomFramework application and one class for any other application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages