-
What do you want to achieve?
I want to use the google search API in lua.
Basically trying to test google API here in roblox. -
What is the issue?
The output says ‘Can’t parse JSON’
local http = game:GetService("HttpService")
local key = "can't show this on dev forum, but this is where I put the key."
local id = "e436ddcaffbe639cd"
local search = "cat"
local result = http:JSONDecode("https://www.googleapis.com/customsearch/v1?key=" .. key .."&cx=017576662512468239146:omuauf_lfve&q=lectures&callback=hndlr")
print(result)
This is where google describes the usage.