OapiGettokenRequest.py 383 B

1234567891011121314151617
  1. '''
  2. Created by auto_sdk on 2018.08.28
  3. '''
  4. from dingtalk.api.base import RestApi
  5. class OapiGettokenRequest(RestApi):
  6. def __init__(self,url=None):
  7. RestApi.__init__(self,url)
  8. self.appkey = None
  9. self.appsecret = None
  10. self.corpid = None
  11. self.corpsecret = None
  12. def getHttpMethod(self):
  13. return 'GET'
  14. def getapiname(self):
  15. return 'dingtalk.oapi.gettoken'