How to get list of results from google custom search api

Viewed 13

I created a search engine powered by google custom search api, I want to get a list of search results but in my own file. Can it?

myfile.js So that my js file get a list of results from google custom search api

"results": [
  {
    "title": "Result 1",
    "snippet": "snippet 1"
  },
  {
    "title": "Result 2",
    "snippet": "snippet 2"
  }
  {
    "title": "Result 3",
    "snippet": "snippet 3"
  }
]
0 Answers
Related