Google something, and have all the results perfectly formatted for Discord!
SEARCH ON GOOGLE VIA API
Google something, and have all the results perfectly formatted for Discord!
Base URL: https://searchondiscord.api.invomagic.com
Authorization Headers: X-API-Key
This is a locked API, it requires an API Key, and there is no public one; create a key on Discord here by running /searchapi api-key console
Ensure you answer the questions truthfuly as to not have your key REVOKED
GET /search
Get a well formatted Google search returned to place in your bot!
Query Paramaters:
query: The thing you're searching, for example if you want to search cats, put "cats"
googleApiKey: This is your Google Cloud API Key, its needed to make the request to the Custom Search API
searchEngineId: This is the Search engine ID that you want to use
ADDITIONAL INFORMATION
How do i get the Google API Key?
Step One: Go to https://console.cloud.google.com
Step Two: Enable the Custom Search API Found Here and click "Enable"
Step Three: Go to https://console.cloud.google.com/apis/credentials and click "Create Credentials" And select "API Key"
Step Four: Copy what Google gives you!
How Do I Get the Search Engine ID?
Step One: Go here Programmable Search Engine Console, Give it a name, select "Search the entire web" toggle on "Safe Search" Leave image search OFF
Step Two: Click "Create"
Step Three: Click "Customize"
Step Four: Copy the string next to "Search engine ID"!
Is This Free?
This API? YES! We wont be charging you anything (hence why some credit is appreciated :] )
However on the side of the Custom Search API, its a yes and a no, you get 100 queries a day for FREE with the Custom Search API after that Google Charges 5$ per 1,000 queries, Google however does offer 300$ in credit (expires in 3 months) as a trial, so you can always nab that!
This took me a TON of time, so credit is highly appreciated <3
Either by putting "Search API Sourced from Invomagic.com" or "Search API Made by @magicgamer" would be awesome, it is however not required
Hey, Im MG, Hope you like this API.
These APIs are made typically for BotGhost usage but can be used for whatever nice project you have
If you appreciate these you can vote for me on the BotGhost Server using /vote (my username is @magicgamer), or check out my other work with Invomagic