contact.py 388 B

123456789101112131415161718
  1. # -*- encoding:utf-8 -*-
  2. from kscore.session import get_session
  3. if __name__ == "__main__":
  4. s = get_session()
  5. client = s.create_client("contact", "cn-beijing-6", use_ssl=False)
  6. param = {
  7. "StartTime": "2021-07-01",
  8. "EndTime": "2021-07-20",
  9. "PageNumber": 1,
  10. "PageSize": 10,
  11. }
  12. item = client.query_in_mail_list(**param)
  13. print(item)