Forwarded from FREE API 🇻🇳
Hey everyone! 🎉
Our Free Fire bot @Checkinfofreefire_bot is now OPEN for ALL! No fees, just enjoy the features freely.
What can it do?
🔍 Search player info with /get <region> <uid>
🔎 Find accounts by nickname with /search <name>
🚫 Check ban status with /isbanned <uid>
And many more handy commands to level up your Free Fire experience!
How to use?
Just start chatting with @Checkinfofreefire_bot and use /help to see all commands.
Let’s crush the game together! 💥
Join here 👉 https://t.me/eventfreefirechat
Our Free Fire bot @Checkinfofreefire_bot is now OPEN for ALL! No fees, just enjoy the features freely.
What can it do?
🔍 Search player info with /get <region> <uid>
🔎 Find accounts by nickname with /search <name>
🚫 Check ban status with /isbanned <uid>
And many more handy commands to level up your Free Fire experience!
How to use?
Just start chatting with @Checkinfofreefire_bot and use /help to see all commands.
Let’s crush the game together! 💥
Join here 👉 https://t.me/eventfreefirechat
🤩2👍1
import requests
from PIL import Image
from io import BytesIO
app = Flask(__name__)
# Base image URL
BASE_IMAGE_URL = "https://iili.io/39iE4rF.jpg"
# Example API keys (you can store these in a database or a config file)
API_KEYS = {
"MARCOxIROTECH": True, # Active key
"1DAY": True, # Inactive key
"busy": False # Active key
}
def is_key_valid(api_key):
"""Check if the provided API key is valid and active."""
return API_KEYS.get(api_key, False)
def fetch_data(region, uid):
"""Fetch data from the new API based on region and uid."""
url = f"http://hyper-full-info-api.vercel.app/info?uid={uid}®ion={region}"
response = requests.get(url)
if response.status_code == 200:
return response.json()
else:
print(f"Error fetching data: {response.status_code}, {response.text}") # Print error details
return None
def overlay_images(base_image, item_ids):
"""Overlay item images on the base image."""
# Load the base image
base = Image.open(BytesIO(requests.get(base_image).content)).convert("RGBA")
# Define positions for each item (x, y)
positions = [
(485, 473), # Position for item 1
(295, 546), # Position for item 2
(290, 40), # Position for item 3
(479, 100), # Position for item 4
(550, 280), # Position for item 5
(100, 470) # Position for item 6
]
# Define sizes for each item (width, height)
sizes = [
(130, 130), # Size for item 1
(130, 130), # Size for item 2
(130, 130), # Size for item 3
(130, 130), # Size for item 4
(130, 130), # Size for item 5
(130, 130) # Size for item 6
]
for idx, item_id in enumerate(item_ids):
item_image_url = f"https://pika-ffitmes-api.vercel.app/?item_id={item_id}&watermark=TaitanApi&key=PikaApis"
item = Image.open(BytesIO(requests.get(item_image_url).content)).convert("RGBA")
# Resize the item image using LANCZOS for high-quality downsampling
item = item.resize((sizes[idx][0], sizes[idx][1]), Image.LANCZOS)
base.paste(item, (positions[idx][0], positions[idx][1]), item)
return base
@app.route('/api', methods=['GET'])
def api():
"""API endpoint to get the overlaid image."""
region = request.args.get('region')
uid = request.args.get('uid')
api_key = request.args.get('key') # Get the API key from the request
if not region or not uid or not api_key:
return jsonify({"error": "Missing region, uid, or key parameter"}), 400
if not is_key_valid(api_key):
return jsonify({"error": "Invalid or inactive API key"}), 403
data = fetch_data(region, uid)
if not data or "AccountProfileInfo" not in data or "EquippedOutfit" not in data["AccountProfileInfo"]:
return jsonify({"error": "Failed to fetch data. Recheck uid and region"}), 500
item_ids = data["AccountProfileInfo"]["EquippedOutfit"]
# Ensure we only take the first 6 item IDs
item_ids = item_ids[:6]
# Overlay images on the base image
overlaid_image = overlay_images(BASE_IMAGE_URL, item_ids)
# Save the image to a BytesIO object
img_io = BytesIO()
overlaid_image.save(img_io, 'PNG')
img_io.seek(0)
return send_file(img_io, mimetype='image/png')
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=True)
🤩3❤1👍1
MARCO LIKE BOT CODE.py
11.1 KB
MY NEW LIKE BOT CODE 🥰 ONLY CHANGE BOT TOKEN AND LIKE API URL AND RUN IT ON MY BOT - @MARCO_FILE_HOST_BOT or @Botrosterbot
100% SECURITY
❤4👍2
Web site copier source code PHP ❗
USE- ?url=https://aniverse.top
SOURCE CODE-
USE- ?url=https://aniverse.top
SOURCE CODE-
<?php
header('Content-Type: application/json');
if (!isset($_GET['url'])) {
http_response_code(400);
echo json_encode(['error' => 'Missing "url" parameter']);
exit;
}
$targetUrl = $_GET['url'];
$apiUrl = 'https://copier.saveweb2zip.com/api/copySite';
$payload = json_encode([
'url' => $targetUrl,
'renameAssets' => false,
'saveStructure' => false,
'alternativeAlgorithm' => false,
'mobileVersion' => false
]);
$headers = [
'Content-Type: application/json',
'Origin: https://saveweb2zip.com',
'Referer: https://saveweb2zip.com/',
'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Mobile Safari/537.36'
];
$ch = curl_init($apiUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_ENCODING, '');
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);
if (!$data || !isset($data['md5'])) {
echo json_encode(['error' => 'Failed to get md5', 'response' => $response]);
exit;
}
$md5 = $data['md5'];
$downloadUrl = "https://copier.saveweb2zip.com/api/downloadArchive/$md5";
echo json_encode([
'success' => true,
'download' => $downloadUrl
]);
👍9❤4🥰4😍4🔥3👏1
def convert_timestamp(ms):
return datetime.fromtimestamp(ms / 1000).strftime("%d/%m/%Y %H:%M")
@bot.message_handler(commands=['vietlott'])
def send_vietlot_result(message):
auto_react_to_command(message)
try:
mega_url = "https://coccoc.com/composer/vertical/lottery?id=4"
power_url = "https://coccoc.com/composer/vertical/lottery?id=5"
mega_data = requests.get(mega_url).json()
power_data = requests.get(power_url).json()
text = "🎲 <b>KẾT QUẢ XỔ SỐ VIETLOTT</b>\n\n"
# ===== MEGA 6/45 =====
if mega_data.get("lottery"):
mega = mega_data["lottery"]
info = mega["data"]
block = f"🔷 <b>Mega 6/45</b>\n"
block += f"📅 Ngày: {convert_timestamp(info['day'])}\n"
block += f"🔢 Kỳ: {info['round']}\n"
block += f"🎉 Kết quả: <code>{' - '.join(info.get('results', []))}</code>\n"
prizes = info.get("prizes", [])
if prizes:
block += "🏆 <b>Giải thưởng:</b>\n"
for p in prizes:
num = p.get("numberPrize", "")
val = p.get("value", "")
if num == "0":
block += f"🥇 Jackpot: {num} người trúng - 💰 {val}\n"
else:
block += f"🎖 {num} người trúng - 💵 {val}\n"
else:
block += "⚠️ Không có dữ liệu giải thưởng.\n"
text += f"<blockquote>{block.strip()}</blockquote>\n\n"
# ===== POWER 6/55 =====
if power_data.get("lottery"):
power = power_data["lottery"]
info = power["data"]
block = f"🔶 <b>Power 6/55</b>\n"
block += f"📅 Ngày: {convert_timestamp(info['day'])}\n"
block += f"🔢 Kỳ: {info['round']}\n"
block += f"🎉 Kết quả: <code>{' - '.join(info.get('results', []))}</code>\n"
prizes = info.get("prizes", [])
if prizes:
block += "🏆 <b>Giải thưởng:</b>\n"
for p in prizes:
num = p.get("numberPrize", "")
val = p.get("value", "")
if num == "0":
block += f"🥇 Jackpot 1: {num} người trúng - 💰 {val}\n"
elif num == "1":
block += f"🥈 Jackpot 2: {num} người trúng - 💰 {val}\n"
else:
block += f"🎖 {num} người trúng - 💵 {val}\n"
else:
block += "⚠️ Không có dữ liệu giải thưởng.\n"
text += f"<blockquote>{block.strip()}</blockquote>"
bot.reply_to(message, text.strip(), parse_mode="HTML")
except Exception as e:
bot.reply_to(message, f"❌ Lỗi khi lấy dữ liệu: {e}")
🥰8❤5👍5😍4👏1🎉1💯1