Envato new api to get products from the marketplace

Envato has recently introduced a new API to retrieve products from their marketplace. Here's an overview of the new API and how to use it:

New API Endpoint:

The new API endpoint is https://api.envato.com/v3/marketplace/products

Authentication:

To use the new API, you'll need to authenticate using an API key. You can obtain an API key by creating an account on the Envato API dashboard and following the instructions to generate a new key.

Request Parameters:

The API accepts the following request parameters:

Response:

The API returns a JSON response containing an array of product objects, each with the following properties:

Example Request:

Here's an example request using the curl command:

curl -X GET \
  https://api.envato.com/v3/marketplace/products \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d 'page=1&per_page=20&sort=created_at&filter=category:theme'

Replace YOUR_API_KEY with your actual API key.

Note: