get_collection
Fetch detailed information about a specific Product Hunt collection using its ID or slug. Retrieve data including name, description, follower count, and posts.
Instructions
Retrieve detailed information about a specific collection by ID or slug.
Parameters:
- id (str, optional): The collection's unique ID.
- slug (str, optional): The collection's slug (e.g., "best-productivity-apps").
At least one of `id` or `slug` must be provided.
Returns:
- success (bool)
- data (dict): If successful, contains collection details:
- id, name, description, follower_count, posts, etc.
- error (dict, optional)
- rate_limits (dict)
Notes:
- Returns an error if neither `id` nor `slug` is provided, or if the collection is not found.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
id | No | ||
slug | No |
Input Schema (JSON Schema)
{
"properties": {
"id": {
"default": null,
"title": "Id",
"type": "string"
},
"slug": {
"default": null,
"title": "Slug",
"type": "string"
}
},
"title": "get_collectionArguments",
"type": "object"
}