Google autocomplete API

PHOTO EMBED

Mon Jan 10 2022 17:03:43 GMT+0000 (UTC)

Saved by @Explosion #javascript #api #js #autocomplete #google

async function autocomplete(text){
	return JSON.parse(await fetch("https://www.google.com/complete/search?q=testing&client=Firefox").then(res => res.text()))[1];
}
content_copyCOPY

https://github.com/explosion-scratch/cool_apis