Search the Community
Showing results for tags 'api'.
-
This is the code: requestBrowserDomains({"www.convertmp3.io"}) local browser = createBrowser( 0, 0, false ) local currentSound = {} function start(_,link) fetch(link) end addCommandHandler("play",start) function fetch(url) if (url) then fetchRemote("http://www.convertmp3.io/fetch/?format=JSON&video="..url, callback) end end function callback(data, error) if (error ~= 0) then return outputChatBox(error) end if (data == "ERROR") then return outputChatBox("data error") end local data = fromJSON("["..data.."]") if (data) then
-
function asdasdsas() playSound("http://www.convertmp3.io/fetch/?video=https://www.youtube.com/watch?v=iq7q82Cd6RI") end addCommandHandler("test",asdasdsas) what wrong? the API working fine, but the playSound not.. how to fix?
-
I want play songs from youtube, but i don't know how to use a converter to this.. Anyone can send me a WORKING link like this: http://www.convertmp3.io/fetch/?video=..ytlink..? Sorry for my bad english...
-
Hey guys, is there any way to convert a YouTube link to MP3 using fetchRemote or any other way? Thanks
- 1 reply
-
- youtube
- fetchremote
-
(and 2 more)
Tagged with:
-
Dear users, I want to create APIs for my MTASA Server, as FB apis o Google apis. Example: without an HTTP autenthication, requesting GET http://server-ip:22005/api?what=userlist I want to retrieve (in JSON) the list of the connected users to my server, or requesting POST http://server-ip:22005/api with fields what=wheater&number=4 I want to execute setWeather(4) on my server. Someone can help me how to create a resource which does this? Thanks
-
MUSIC SEARCH ENGINE (Provided by Youtube, Soundcloud and vmuzice.com) Hey everyone! I have decided to release this script that I made it some time ago. There's no much to say, it's a simple tool to search music. I don't have an updated video of this resource but I can say it is an improved version of this https://www.youtube.com/watch?v=q35h7dtYRrE (Which it is mine). 1. First thing first: In the v2, you have three sources from where you get songs, but two of them you need to have an api key: Youtube and Soundcloud. Tutorial I have made for Youtube API: