Skip to content

beckenrode/luminateMantle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

luminateMantle

Luminate Mantle is a Wordpress Plugin for use with the Luminate Online API. It provides a wrapper around the Luminate Online REST API.

luminateMantle Example Usage

/* Verify that the luminateMantle Plugin is activated */
if ( ! apply_filters( 'luminate-mantle-installed', false ) ) {
	echo "The Luminate Mantle Plugin isn't loaded!";
} else {
	/* Initalize the plugin */
	$LuminateMantle = new LuminateMantle();

	/* Setup the request */
	$data = [
		'servlet' => 'teamraiser',
		'method' => 'getTeamraisersByInfo',
		'params' => [
			'list_page_size' => 10,
			'event_type' => '',
			'name' => '%search term%'
		]
	];
                        
	$request = ['data' => http_build_query($data)];
              
	/* Make the request */
	$result = $LuminateMantle->luminateMantle($request);
        
	/* Dump the result */
	echo $result;
}

About

Luminate Mantle is a Wordpress Plugin for use with Luminate Online. It provides a wrapper around the Luminate Online REST API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages