时间:2021-07-01 10:21:17 帮助过:3人阅读
import requests
url = "https://aip.baidubce.com/oauth/2.0/token"
data = {
‘grant_type‘:‘client_credentials‘,
‘client_id‘:API Key,
‘client_secret‘:Secret Key,
}
response = requests.post(url=url,data=data)
print(response.text)
百度文字识别获取access token
标签:data tps type pos ext text key res cli