I am currently working for a social media site. We would like to use Google Custom Search Engine API and derive analytical insights from the results. My choice of development platform is R or Python. The following source code in R is used to fetch details about a person, whose details are publically available.

query=paste("https://www.googleapis.com/customsearch/v1?key=API_KEY&cx=ENGINE_ID&q=",searchword,"&alt=json&num=7",sep = "")
results <- content(GET(query))
results_JSON <- toJSON(results)
results_JSON <- fromJSON(results_JSON)
results_df <- as.data.frame(results_JSON)
titles_df <- as.data.frame(results_df$items.title)
pagemap_df <-
  as.data.frame(results_df$items.pagemap) for (dfindex in 1:length(pagemap_df$person)) {
    if (!is.null(pagemap_df$person[[dfindex]]))
      locationdf = t(as.data.frame(unlist(pagemap_df$person[[dfindex]])))

We plan to customize the results and display it other details in a separate format. On client side review of this code, I got the feedback that the use of custom search API in this manner is not within the terms and conditions provided by Google. Does this kind of operation from an application is not permitted? Once it is hosted, this will be blocked by Google? If it is allowed, We are planning to add credits to the paid API program.

closed as off-topic by Mark Silverberg, Swier, jknappen, ojdo, Nicolas Raoul Jun 30 '16 at 10:01

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about open data within the scope defined in the help center." – Mark Silverberg, Swier
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 4
    This might be better suited for stackoverflow and tagged google-custom-search as that is what the Google developer site for CSE suggests. – Mark Silverberg Jun 27 '16 at 11:28
  • 3
    also, not sure if google's custom search api is open...most of their products are not.... – albert Jun 27 '16 at 13:40

Browse other questions tagged or ask your own question.