c# - Google Trends - Quota limit reached after 5 calls -


i tried implement google trends in web application. code:

 using (var client = new webclient())         {             var username = "username";             var password = "password";               var response = client.downloadstring(string.format("https://www.google.com/accounts/clientlogin?accounttype=google&email={0}&passwd={1}&service=trendspro&source=test-test-v1", username, password));              var auth = response.split('\n')[2];             client.headers.add("authorization", "googlelogin " + auth);              uri url = new uri(string.format("https://www.google.com/trends/fetchcomponent?q={0}&cid=top_queries_0_0&export=3", keyword));             string result = client.downloadstring(url);              result = result.replace("google.visualization.query.setresponse(", string.empty);             result = result.replace(");", string.empty);             result = result.replace("// data table response", string.empty); 

i need top queries of keyword. code works fine, after 5 queries error i've reached quota limit. after waiting hour can 2 more queries , i've reached limit again. still can search keywords on google trends website.

can please me? doing wrong?

thank you

christine

if understand correctly google trends has quota requests. sounds connected ip address why search on computer isn't affected after on phone. sounds there limit fast successions of searches well.

not positive how seems.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -