You want to review questions under a Lemon8 styling post, but the comment request needs more than the identifier you already have. Establish the work's related values before collecting discussion.
Obtain identifiers from the same detail record
The contract calls for group_id, item_id, and media_id, with related values available through work details and a separate item-ID capability. Preserve their association. Do not combine a user ID or a value from another work. If the required fields are unavailable, resolve that gap instead of guessing defaults.
Continue with returned offsets
On the first request, offset may be omitted; its contract default is the string "0". Use the offset from the previous response for subsequent batches. Attach comments to the original work, record coverage, and check duplicates. An unsuccessful continuation does not prove that no further discussion exists. Validate the response before interpreting the sample.
Preserve the conditions behind styling questions
Distinguish sizing, occasions, alternative combinations, and purchasing questions. Similar remarks may concern different bodies or situations, so grouping should not erase those distinctions. Product facts require independent checking; comments are not a specification sheet. Deliver source-linked questions for supplementary content without treating active commenters as a complete representation of every reader's needs.
Request URL and parameters
GET https://api.trmesh.com/openapi/api/v1/lemon8/app/fetch_post_comment_list
| Parameter | Type | Required | Meaning |
|---|---|---|---|
group_id |
string | Yes | Post's group_id |
item_id |
string | Yes | Post's item_id |
media_id |
string | Yes | Post's media_id |
offset |
string | No | Pagination parameter |
Run the Python example
Install requests and set TRMESH_API_TOKEN in your environment. Replace the sample identifiers with the public object you intend to inspect. Example IDs may no longer be available.
import os
import requests
# Read your own developer key from the server environment.
url = "https://api.trmesh.com/openapi/api/v1/lemon8/app/fetch_post_comment_list"
params = {
"group_id": "7361926875709129222",
"item_id": "7361926875709129222",
"media_id": "7428056850216862763",
"offset": "0"
}
response = requests.get(
url, params=params, timeout=30,
headers={"Authorization": f"Bearer {os.environ['TRMESH_API_TOKEN']}"},
)
response.raise_for_status()
payload = response.json()
print(payload) # Inspect the actual response before mapping fields
Endpoint documentation · Free profile tool
API calls use your TRMesh account allowance. Check the endpoint price before running a script.