ntokloapi-php is an API connector to use the nToklo recommendation engine for your e-commerce site.
- PHP 5.3.3 is required but using the latest version of PHP is highly recommended
How do I use it?¶
To be able to use the nToklo recommendation engine, you need to create an application in the nToklo console so you can get an API key and API secret.
To get your API key and API secret you must follow th steps below:
Create an application on the nToklo console. An application represent your store on nToklo platform.
Get your nToklo API key and secret and put into the function.
$api = new NtokloApi($key = '1112233asdZmUtZmQ4Yy00MjQ4LThjODAtNzBjMjJlODRjYjVh', $secret = 'OTNmMjlhZmUtZmQ4Yy00MjQ4LThjODAtNzBjMjJlOdadasdsa');