Get the videos on a WeChat Channels account's homepage with descriptions, publish time, like, comment, share and favorite counts, and media download info, with cursor pagination.
मूल्य
$0.01USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक
प्लेग्राउंड
इनपुट
WeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily). See `fetch_channel_info` / `fetch_video_detail` / `fetch_channel_id_to_username` docs for how to obtain it.
Optional pagination cursor (base64). **Leave empty for the first page**; when `up_continue` in the response is truthy, pass the previous page's `last_buffer` to get the next page. (base64 contains `+//=` characters, hence body instead of query.)
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
API README
WeChat Channels User Videos API
Returns the videos on a WeChat Channels account's homepage, with descriptions, publish time, engagement counts and media download info. It needs the account's finder username (v2_…@finder format).
Use cases
Track new posts from a news outlet or brand account on WeChat Channels.
Compare likes, comments, shares and favorites across an account's recent videos.
Collect media.full_url and media.decode_key values to archive videos.
Page through an account's full video history with the last_buffer cursor.
WeChat Channels finder username (v2_…@finder format), e.g. v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder (People's Daily). See fetch_channel_info / fetch_video_detail / `f
last_buffer
string
No
Optional pagination cursor (base64). Leave empty for the first page; when up_continue in the response is truthy, pass the previous page's last_buffer to get the next page. (base64 contains +//= characters, henc
raw
boolean
No
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
API key environment variable
export SANDBASE_API_KEY="YOUR_API_KEY"
अपना key सर्वर पर रखें। इसे browser code में expose न करें।
3. पैरामीटर
usernamestringआवश्यक
WeChat Channels finder username (`v2_…@finder` format), e.g. `v2_060000231003b20faec8c6e4811dc1d4c602ee30b0771bbcf220c67926bb76ab7702ac335a53@finder` (People's Daily). See `fetch_channel_info` / `fetch_video_detail` / `fetch_channel_id_to_username` docs for how to obtain it.
last_bufferany
Optional pagination cursor (base64). **Leave empty for the first page**; when `up_continue` in the response is truthy, pass the previous page's `last_buffer` to get the next page. (base64 contains `+//=` characters, hence body instead of query.)
rawboolean
Optional, default True. True=raw response; False=simplified parsed structure (recommended for media download).
4. रिस्पॉन्स
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
WeChat Channels User Videos API का उपयोग कैसे करें?
https://api.sandbase.ai/v1/api/wechat-channels/v2/user-videos पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
WeChat Channels User Videos API की लागत कितनी है?
$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
WeChat Channels User Videos API कौन-से parameters स्वीकार करती है?
आवश्यक: username (string)। वैकल्पिक: last_buffer (any) और raw (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
WeChat Channels User Videos API क्या लौटाती है?
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
क्या मुझे एक WeChat Channels developer account या API key चाहिए?
नहीं। WeChat Channels User Videos SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से WeChat Channels API access के लिए आवेदन करने की आवश्यकता नहीं है।