Bots.Business
4.12K subscribers
587 photos
18 videos
26 files
552 links
Download Telegram
How To Check Live Price By Coinbase Api.

⁉️ First On Bot.Business.

♻️ Command - Live

🌐 BJS - HTTP.get({ url: "
https://api.coinbase.com/v2/prices/spot?currency=USD", success: "/Price" })

♻️ Command - /Price

🌐 BJS -

var result = JSON.parse(content)
var btc = result.data.amount
var time = Libs.DateTimeFormat.format(new Date(),"h:M:s T")+"M"
Api.sendPhoto({ photo: "https://bit.ly/38y1Yle",
caption: "*📊 Live BTC Price = "+btc+" $\n\n Server Time = "+time+"\n\n🌐 Developer = @Shadab_Alam*", parse_mode: "Markdown" })


💎 Coded By :-
@Shadab_Alam
1👍1😁1
Bad code example
code formatting
😍 Today I Am Giving JackPort Game BJS For Free

🎰 Jackport Game BJS

Command: 🎰 Jackport
BJS:
Api.sendDice({ on_result:"Result",emoji:"🎰"})

Command: Result
BJS:
Bot.sendMessage("🎰Result: " +options.result.dice.value)

Developer:
@YashGupta20
💎 BB Point Donation: https://t.me/BBPointBot?start=req62-10-points-to-818669679

#⃣ Tags: #Yash_Dev #Game #Jackport
Forwarded from Xrd
🌐Coded By ©𝐑𝐚𝐝𝐢𝐧

💎Credits ©𝐑𝐚𝐝𝐢𝐧 , ℳ🅺ℬ 😜

🔗Bitly.com URL Shortener Bjs

•Command : Bit.ly [Your Wish]
•In Answer : *Send Your Long Url*

✔️Wait For Answer On
In Bjs
var api = "Your API Key"
var longurl = message
var url =
"https://api-ssl.bitly.com/v3/shorten?access_token=" +
api +
"&longUrl=" +
longurl

HTTP.post({
url: url,
success: "ShortLink"
})


-----------------------------------------------

•Command : ShortLink
•Wait For Answer🚫

•In Bjs
let val = JSON.parse(content)
let shortlink = val.data.url
let err = val.status_txt

if (err == "INVALID_URI") {
Bot.sendMessage("*This Is Not A Valid Url\n/TryAgain*")
return
}
Bot.sendMessage("*🔗Your ShortLink Created :*\n\n"+shortlink)


____________________________

🌐Coded By ©𝐑𝐚𝐝𝐢𝐧
💎Credits ©𝐑𝐚𝐝𝐢𝐧 , ℳ🅺ℬ 😜
@bbbounty if you want bb points
This unofficial videos from @Advanced_Bot_Codings community.
Bots.Business
Photo
Really - it is very hard to fix such code!

Do NOT use eval from user's input.
NEVER!
Bots.Business
Photo
💎1000 BB Points for safe user's eval:

var res = eval(message);
Bot.sendMessage(res);
2750 BB points now
3000 BB points now
App fixing in progress