blogger.py 481 B

12345678910111213141516171819202122
  1. """
  2. @author: luojunhui
  3. """
  4. import requests
  5. import json
  6. from applications.api import WechatChannelAPI
  7. from config import gewe_token, gewe_app_id, gewe_base_url
  8. def get_channel_account_videos(user_id, last_buffer=""):
  9. """
  10. get channel account videos
  11. """
  12. channel_api = WechatChannelAPI(
  13. base_url=gewe_base_url,
  14. token=gewe_token,
  15. app_id=gewe_app_id
  16. )
  17. result = channel_api.get_channel_video_list(user_id, last_buffer)
  18. return result