{"id":427,"date":"2016-05-14T20:47:41","date_gmt":"2016-05-14T19:47:41","guid":{"rendered":"http:\/\/watchdiana.fail\/blog\/?p=427"},"modified":"2016-05-14T20:47:41","modified_gmt":"2016-05-14T19:47:41","slug":"itchy-google-api-and-image-search","status":"publish","type":"post","link":"https:\/\/watchdiana.fail\/blog\/2016\/05\/14\/itchy-google-api-and-image-search\/","title":{"rendered":"Itchy: Google API and image search"},"content":{"rendered":"<p>Google&#8217;s search API is deprecated.  For image searching, I used the Google Python CSE API client.  That meant setting up my own custom search engine.  For a perplexing long time I couldn&#8217;t get any decent results out of it, but then I blanked out the list of sites in which to search (I had google.com and nothing else) and, importantly, found a dropdown menu that gave me the option of searching elsewhere.  So now I&#8217;m finding 0 results from my first tier non-sites, and then all the results that google can give me, from the second tier.  It&#8217;s a strange way of doing it, and I couldn&#8217;t find it in any of the docs, but that&#8217;s how I did it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google&#8217;s search API is deprecated. For image searching, I used the Google Python CSE API client. That meant setting up my own custom search engine. For a perplexing long time I couldn&#8217;t get any decent results out of it, but then I blanked out the list of sites in which to search (I had google.com [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,66],"tags":[52,13],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-itchy","category-software-and-firmware","tag-itchy","tag-things-i-do-because-im-stubborn","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":1,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":428,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions\/428"}],"wp:attachment":[{"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/watchdiana.fail\/blog\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}