Teleservice Api
Open in Telegram
Well Know Free Api Devs And Bots Maker • Free Apis • Free Bots • Free Bot Codes • Free Advance Code • Free Web Projects • Free Giveaways And Many More 😍
Show moreNo data
Subscribers
-224 hours
+17 days
+2630 days
Posts Archive
Bjs posted here https://t.me/TeleServices_Bots/172
For broadcast using projectoid API
Day by day I feel like GPT copy-paste made me a small coder — still noob, but now I can guess if the code will work or not without running! 🙂
Ok vercel blocking my Apis so time to give sources
Spotify songs details + search (it's uses official api )
https://github.com/Soumyadeep765/Song
import requests
import json
url = "https://api.teleservices.io/Broadcast/public/recover/"
payload = {
"bot_token": "Your_Bot_Token",
"projectoid_key": "Your_Auth_key"
}
response = requests.post(url, data=json.dumps(payload))
print(response.text)
For those who wanna registered and transfer data from teleservice to projectoidRepost from Azazel Methods
✔️ Grab a Fully Loaded Terabox Bot Today
Get the complete package: Bot Username + API + Python Code – everything you need to run your own bot!
🔖 Available Bots:
@Direct_Terabox_Video_DownBot – ₹5.5K
@Terabox_VideoDownloderBot – ₹7K
What’s Included:
⚡️ Cloudflare Worker-based API
🌟 Full Python Bot Code
🔗 Exclusive Bot Username (only 1 available)
Why Sell?
I’m preparing for exams next month and can’t manage the bots anymore.
- @Direct_Terabox_Video_DownBot: 20K+ users | 9.5K+ DB
- @Terabox_VideoDownloderBot: 98K+ users | 37.8K+ DB
New users joining daily!
Only one buyer will get this deal – serious inquiries only.
DM @Death_walkers now before it’s gone!
Well, those who wanna transfer Teleservice Broadcast API data to projectoid! register your bots
We will transfer your data to projectoid by the end of the day
Repost from Projectoid Api
👩💻 Example Code for Broadcast API in Node.js with Telegraf
Get your Auth key at @ProjectoidBotGenerated by qwen aiconst { Telegraf } = require('telegraf'); const axios = require('axios'); // Projectoid API Configuration const BASE_URL = 'https://api.projectoid.in/v2/telegram/bot{bot_id}'; const AUTH_KEY = 'your-auth-key'; // Replace with your Auth Key const BOT_TOKEN = 'your-bot-token'; // Replace with your Bot Token const BOT_ID = '12345678'; // Replace with your Bot's Telegram ID const headers = { Authorization: `Bearer ${AUTH_KEY}`, 'X-Bot-Token': BOT_TOKEN, }; // Initialize Telegraf Bot const bot = new Telegraf(BOT_TOKEN); /** * Initiate a Broadcast via Projectoid API */ async function initiateBroadcast(chatType, message) { const payload = { author: 2345678901, // Replace with your Telegram User ID method: 'sendMessage', list_id: 'global', // Replace with your List ID chat_type: chatType, webhook_url: `https://example.com/webhook`, // Replace with your Webhook URL message: { text: message, disable_web_page_preview: true, }, }; try { const response = await axios.post(`${BASE_URL.replace('{bot_id}', BOT_ID)}/broadcast`, payload, { headers }); return response.data; } catch (error) { console.error('Error initiating broadcast:', error.response?.data || error.message); throw error; } } /** * Handle Incoming Webhook Updates from Telegram */ bot.on('text', async (ctx) => { const message = ctx.message.text; if (message === '/broadcast') { try { const broadcastResponse = await initiateBroadcast('all', 'Hello! This is a test broadcast message.'); ctx.reply(`Broadcast initiated! ID: ${broadcastResponse.result.id}`); } catch (error) { ctx.reply('Failed to initiate broadcast. Please try again.'); } } else { ctx.reply('Send /broadcast to initiate a broadcast.'); } }); /** * Start the Telegraf Bot */ bot.launch().then(() => { console.log('Bot is running...'); }); // Graceful Shutdown process.once('SIGINT', () => bot.stop('SIGINT')); process.once('SIGTERM', () => bot.stop('SIGTERM'));
Repost from Projectoid Api
🅿️ New Update: Broadcast API v2.0.2 📣
We’ve upgraded the Broadcast API from v2.0.1-beta to v2.0.2!
What’s New:
• Enhanced speed and stability
• Fixed
addChat list_id passing issue
• Resolved broadcast webhook bug
• Added Revoke Auth Key button in @Projectoidbot (under Security, visible under specific conditions)
• New: Live Broadcast Stats Dashboard now available at projectoid.in/dashboard/api/broadcast
Action Required:
Update your bot to use the latest version via @ProjectoidBot. New users are automatically on v2.0.2.
Docs: docs.projectoid.in
👍 @Projectoid • @ProjectoidApi
#DesignedForDevelopers #BuiltForYouComplete 1.2k , for API version with ready to deploy in vercel, i will share direct GitHub repo
And fake suscriber means no codes
import requests
from bs4 import BeautifulSoup
import re
import json
from datetime import datetime
import isodate
url = "https://gaana.com/lyrics/believer-224" #here the url , just u can also make a logic that will get song link and convert to lyrics page link ok, tip extract the Last part that is called seo in ganna
headers = { "User-Agent": "Mozilla/5.0" }
response = requests.get(url, headers=headers)
soup = BeautifulSoup(response.text, "html.parser")
script_tags = soup.find_all("script", {"type": "application/ld+json"})
if script_tags:
raw_text = script_tags[-1].string.strip()
def extract(key):
match = re.search(rf'"{key}"\s*:\s*"([^"]+)"', raw_text)
return match.group(1).strip() if match else ""
def extract_json_value(key):
match = re.search(rf'"{key}"\s*:\s*(?:"([^"]+)"|(\{{[^}}]+\}}))', raw_text)
if match:
return match.group(1) if match.group(1) else match.group(2)
return ""
def extract_lyrics():
match = re.search(r'"text"\s*:\s*"((?:[^"\\]|\\.)*)"', raw_text, re.DOTALL)
if match:
text = match.group(1)
text = text.encode().decode('unicode_escape')
return text
return ""
def format_duration(iso_duration):
try:
duration = isodate.parse_duration(iso_duration)
total_seconds = int(duration.total_seconds())
minutes, seconds = divmod(total_seconds, 60)
return f"{minutes}:{seconds:02d}"
except:
return iso_duration
def format_release_date(released_event):
try:
event_data = json.loads(released_event)
if isinstance(event_data, dict) and 'name' in event_data:
date_str = event_data['name']
try:
date_obj = datetime.strptime(date_str, "%Y-%m-%d")
return date_obj.strftime("%B %d, %Y")
except ValueError:
return date_str
except json.JSONDecodeError:
pass
return released_event
duration = extract("timeRequired")
released_event = extract_json_value("releasedEvent")
data = {
"name": extract("name"),
"url": extract("url"),
"image": extract("image"),
"language": extract("inLanguage"),
"duration": format_duration(duration),
"genre": extract("genre"),
"release_date": format_release_date(released_event),
"lyrics": extract_lyrics()
}
print(json.dumps(data, indent=4, ensure_ascii=False))
For details + lyrics extract ok
pip install requests beautifulsoup4 isodate
Need these modulesimport requests
url = "https://gsearch.gaana.com/vichitih/go/v2"
params = {
'geoLocation': "IN",
'query': "Hii",
'content_filter': "2",
'include': "allItems",
'isRegSrch': "0",
'webVersion': "mix",
'rType': "web",
'usrLang': "Hindi,English,Punjabi",
'isChrome': "1"
}
headers = {
'User-Agent': "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Mobile Safari/537.36",
'sec-ch-ua-platform': "\"Android\"",
'sec-ch-ua': "\"Chromium\";v=\"134\", \"Not:A-Brand\";v=\"24\", \"Google Chrome\";v=\"134\"",
'sec-ch-ua-mobile': "?1",
'devicetype': "GaanaWapApp",
'deviceid': "website",
'gaanaappversion': "gaanaAndroid-8.48.2",
'dnt': "1",
'origin': "https://gaana.com",
'sec-fetch-site': "same-site",
'sec-fetch-mode': "cors",
'sec-fetch-dest': "empty",
'referer': "https://gaana.com/",
'accept-language': "en-US,en;q=0.9,bn;q=0.8,ru;q=0.7,zh-CN;q=0.6,zh;q=0.5,hi;q=0.4,la;q=0.3",
'priority': "u=1, i"
}
response = requests.get(url, params=params, headers=headers)
print(response.text)
For gana song search, from https://gaana.com/