Google Extended Trends API for Health in python

雨燕双飞 提交于 2019-12-11 11:07:06

问题


I have access to the Trends API. I am trying to run the getTimelinesForHealth API. Doesn't seem to execute. I am running the code in Python.

googleapiclient.errors.HttpError: https://www.googleapis.com/trends/v1beta/timelinesForHealth? key=MY_API_KEY&geoRestriction.country=US&terms=cold&terms=cough&time.endDate=201 2-01-01&alt=json&time.startDate=2011-01-01&timelineResolution=week returned "Daily Limit Exceeded">

We tried this on 2 different computers. Cookies are enabled. The daily limit is definitely not exceeding we are sure about that. (This is mentioned since some posts suggested to try out these alternatives)

Nevertheless, when I am using the getGraph() API that executes very well. So, this is something peculiar only about the timeline for health API.

来源:https://stackoverflow.com/questions/35613401/google-extended-trends-api-for-health-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!