Getting Indexing Dates of Google Search API results

36 views
Skip to first unread message

Vishal Jagannath

unread,
Jun 10, 2015, 7:51:01 AM6/10/15
to google-ajax...@googlegroups.com
My apologies if this question has already been asked.
I am a beginner in using APIs.
I need to get the indexing dates of the google search results obtained using Google Search API using a python program.
Apparently, the item returned by the site does not have any key named 'date'.

        search_results = urllib.urlopen(url)
        json = simplejson.loads(search_results.read())
        results = json['responseData']['results']
        for item in results:
            if number == 0:
                break
            for key in item:
print key
            number -= 1

Is there any way to get the indexing date?

Jeremy Geerdes

unread,
Jun 10, 2015, 9:11:56 AM6/10/15
to google-ajax...@googlegroups.com
To answer your question, there is no documented way to get the index date from the Web Search API.

More importantly, the Web Search API has been deprecated for more than three years and is now three months past its sunset date. This means that it may stop functioning at any time. Therefore, it is extremely ill-advised to build any critical functionality upon it.

jg

--
--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/dd6b0914-fa09-4362-bd5f-2063047a22bc%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-ajax-searc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!
Reply all
Reply to author
Forward
0 new messages