Skip to content

datafeedr/datafeedr-api-php-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datafeedr API PHP Library

A PHP client library for the Datafeedr API.

require_once '../config.php';
require_once '../datafeedr.php';

$api = new DatafeedrApi( DATAFEEDR_ACCESS_ID, DATAFEEDR_SECRET_KEY );

$search = $api->searchRequest();

$search->addFilter( 'name LIKE adjama climbing harness' );
$search->addFilter( 'source_id IN 3, 6' ); // CJ & ShareASale

try {
	$products = $search->execute();
	$response = $search->getResponse();
} catch ( Exception $e ) {
	$products = array();
	$response = $e;
}

var_dump( $response );

More examples can be found in the examples folder.

About

A PHP client library for the Datafeedr API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages