PHP code example of oxcom / magento2-top-products

1. Go to this page and download the library: Download oxcom/magento2-top-products library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

oxcom / magento2-top-products example snippets

GET /V1/products/top/{type}