Welcome folks today in this blog post we will be talking about how to add a
custom programmable search api. The full source code of project will be given below.
Now to get started you need to go to the website here and create a new
google search engine that google provides you
Now after that click on the
get started button to get started with the process
Now you need to click on the button create new
google search engine to create a new google search engine
Here in the above figure just enter your
website name in the correct format as shown below and also give unique name to your search engine. After this click on the button to create the search engine.
Now you can see that your search engine is ready you can place it on your website. You just want to click on
Now create a
index.html file and copy paste the following code to it
This code will be unique for you just copy paste this code somewhere we will use this code inside
background-image: linear-gradient(to left, white, green);
<h1 style="text-align: center;">FreeMediaTools</h1>
<script async src="https://cse.google.com/cse.js?cx=989831cdfa5991d4b"></script>
Now if you open this
index.html file inside your browser you will see a search engine ready on your website which is specific to your website. It only give results related to your website.