Need SDK to query google advanced search for search counts - search-engine

I am looking for an SDK or a script for submitting google advanced searches to the google website. (Google Search API does not give the same amount of entries than the normal google search)
I am interested in the number of results only. I would like to use the data_range feature.

Found nothing, did it myself:
https://github.com/froth/gasc

Related

Google Spreadsheet API Developer

I am no longer trying "to embed Google Maps so when I click on it opens Google Maps with 100 meters radius." I understand "Google Maps is not a part of the core services.
I am now trying to use a Work Around without Google Maps and am now asking for help with the "Work Around"....
I want to be able to use the method from this YouTube video to create the Search option another Google support team rep(Vienna) referred me to. In the video he did a search for shoes, shirts and dresses to find his customers. I want to do a search by zip and/or city and state to find mine...."Google Sheets - Search, QUERY function"===https://www.youtube.com/watch?v=VSGKO5gx974
I need help with this part as well with the Google Sheets function list. Which Google Sheet function or a combination of functions will allow me to do the 150-200 meters radius search within the "Google Sheets"? I am not tech savvy and need help to determine which ones can be used. Here are some of the functions that appear to be able to be used from what I think FLATTEN, FREQUENCY, LINEST, MAP, MMULT MDETERM , SUMX2PY2, DAVERAGE, DCOUNTA, DSTDEV, DVAR, DELTA, FILTER, SORT, SORTN, UNIQUE, QUERY, ISFORMULA, CELL, ect.... ===https://support.google.com/docs/table/25273?hl=en#query=
The Viennes also sent a link. https://developers.google.com/maps/documentation/routes_preferred/support#:~:text=Before%20you%20call%2C%20make%20sure,1%2D877%2D355%2D5787
As I was looking over the page, I came across the link to theMarketplace.
I was wondering which one of those databases could be used in the function to accomadate what I am trying to accomplish. Is it the Zip Code Tabulation Area, Geolocation API, CARTO, Roads, API, Routes API. Maps JavaScriprt API, ect....
With those three things listed above, I am sure something can come close to doing a radius/range search in Google Sheets.
If any, at least by the City and/or State search.
I am in need of a Developer, can you suggest one?

Get Google Reviews with IMPORTXML function in G Sheets

I'm trying to import to a Google Sheet the number of reviews and average rating of a certain venue on Google Maps.
Taking as an example this page:
https://www.google.com/maps?cid=8807257593070771217
From Chrome's inspector, the XPath for the average should be:
//*[#id='pane']/div/div[1]/div/div/div[1]/div[3]/div[2]/div/div[1]/span[1]/span/span
However it always returns empty.
Any idea why?
PS - This URL redirects to another, but that shouldn't be the problem as the same thing happens with Facebook and it returns the correct values.
Thanks in advance for any help
Per the comments here, you can't. If you want to scrape Google Maps, use Google's officially supported way to do that: their APIs.
You're probably interested in the Place Details, in particular.
If you have access to a businesses Google My Business page you can leverage the API to pull in reviews that way: https://developers.google.com/my-business/content/review-data
Otherwise, https://serpapi.com can scrape Google reviews for you.

Bing Image Search API Authorise within Google Sheets

I've been putting together a Google Sheet (https://docs.google.com/spreadsheets/d/1Pp9QyrF-aaM6cT9mOs9BWODwbSc2ZHXAovCU2fxQ6Uc/edit?usp=sharing)
that automatically uses the Google Custom Search API (I set up a free account to test) to pull in images to the table from a feed provided by the Google Custom Search API.
The problem is that Google's Custom Search API service seems to be totally unreliable and inconsistent, with the generated search URL's (results in column S of the linked spreadsheet) sometimes returning a useable result (and picture), sometimes returning an empty feed (for no obvious reason) or sometimes giving me a "This site can’t be reached" "ERR_INVALID_RESPONSE" error which is equally inexplicable since the URLs are all formed by the same code.
So I've had a look at the Microsoft Bing Image Search API to see if their results were more reliable and found that I can also use a URL to return an XML feed of results (which I could then parse within Google Sheets to get the image links (i hope!).
The problem is that with the awful Google Custom Search API, I could at least put the authentication information in the URL itself so Google Sheets just followed the link and got the data from the search result. With Bing, which produces much more reliable results, it asks for authentication via a browser dialog and states that "Only Basic and OAuth are supported".
Now I've looked into how I could get Google Sheets to authenticate the URL queries but haven't had much luck figuring it out.
Also saw that you can apparently authenticate using the Basic method but the account key needs to be converted to Base64 and a colon added in front of it but this then needs to be set in the (http?) headers: How do i return JSON results from BING Search Engine API.
Can headers be set via a script in Google Sheets and/or can the Bing Search API urls be authorised from within Google Sheets in some way?
Otherwise is there anything obvious as to what I'm doing wrong with the Google Search URL's that return such broken and inconsistent results?
I'd prefer to get the Bing Search URL's authorised within Google Sheets ideally.
Thanks

Search engine optimization queries in Google Analytics Query Explorer 2

I am trying to fetch the result of Search engine optimization queries in Google Analytics Query Explorer 2.
But I am not able to get the desired results. I have tried the below query
Any suggestions how to achieve this? or Is there a way I can query it using google analytics api.
Kindly Checkout Internal Link Checker of Elite Site Optimizer helps in Identifying and fixing the Link Errors

How can I search documents from google using C# code?

I am currently working on document search in google. I don't want to do HTML parsing at all. However looking for some api which search google documents from internet.
Basically I do have one requirement where there is a task of searching .pdf, .doc files from google search. I have done some googling and found that this cause captcha to be introduce from google and there is limit of 100 query / day.
Is there any free API from google or if not any paid by which i can pass some search query and get the result.
Please note, i don't want HTML parsing at all.
Moreover, Is there any way to overcome the issue of Captch??

Resources