WordsAPI

부분 유료
Verified
분류별 dpventures | 업데이트됨 לפני 22 ימים | Data
인기

9.9 / 10

지연 시간

179ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Get "Too many requests" or 403 after first use

Rapid account: Rjainms
rjainms
לפני 6 שנים

I am using Python 3.6.4 and following the simple example code snippet in the Docs. I could not use the unirest package since it doesnt seem to work for Python 3 so I am using the requests package. I get error 403 or “Too many requests” in the JSON. The code is:

import requests
response = requests.get(“https://wordsapiv1.p.mashape.com/words/solioquy”,
headers={
“X-Mashape-Key”: “my key”,
“Accept”: “application/json”
}
)
if response.status_code != 200:
print(‘GET /wordsapi/ error {}’.format(response.status_code))
for item in response.json():
print(‘item:’, item)

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입