curl --request POST \
--url https://api.anysite.io/api/reddit/user/posts \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"username": "<string>",
"timeout": 300,
"count": 25
}
'[
{
"id": "<string>",
"title": "<string>",
"url": "<string>",
"@type": "@reddit_post_detail",
"author": {
"id": "<string>",
"name": "<string>",
"@type": "@reddit_author"
},
"subreddit": "<string>",
"subreddit_id": "<string>",
"created_at": 123,
"score": 123,
"comment_count": 123,
"post_type": "<string>",
"content_url": "<string>",
"text": "<string>",
"nsfw": false
}
]Get Reddit User Posts (Submitted)
curl --request POST \
--url https://api.anysite.io/api/reddit/user/posts \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"username": "<string>",
"timeout": 300,
"count": 25
}
'[
{
"id": "<string>",
"title": "<string>",
"url": "<string>",
"@type": "@reddit_post_detail",
"author": {
"id": "<string>",
"name": "<string>",
"@type": "@reddit_author"
},
"subreddit": "<string>",
"subreddit_id": "<string>",
"created_at": 123,
"score": 123,
"comment_count": 123,
"post_type": "<string>",
"content_url": "<string>",
"text": "<string>",
"nsfw": false
}
]Successful Response
Show child attributes