By-Devs | ๐Ÿ‡บ๐Ÿ‡ฟ
91 subscribers
8 photos
36 files
15 links
๐Ÿ‘‘ #ByDevs kanaliga xush kelibsiz! Ushbu kanalda siz.๐Ÿ‘‡

โ”Œ ๐Ÿ˜ PHP bot kodlari
โ”œ ๐ŸŒ Web-sayt kodlari
โ”œ ๐Ÿ‘จโ€๐Ÿ’ป Tarqalmagan API kodlar
โ”” ๐Ÿ“ค Kerakli ilovalar

โ˜Ž๏ธ Qo'llab-quvvatlash: @ByDevsChat
Download Telegram
๐Ÿ”ฐ Musiqa Qidiruv API:๐Ÿ‘‡

https://c333.coresuz.ru/api/music.php?music=Xamdam%20Sobirov


๐Ÿ”— Bu havola Xudo xoxlasa ancha vaqt ishledi bemalol botlarizda ishlatishlariz mumkin!

๐Ÿ˜‰ By: @UzCoder_Net
Please open Telegram to view this post
VIEW IN TELEGRAM
Bu bot kodi kerak kimda bor?

Demo:
@ByGramBot
๐Ÿ‘2
Blya๐Ÿ˜€
Please open Telegram to view this post
VIEW IN TELEGRAM
โœ… DOMEN INFO BOT TAYYOR!

๐Ÿ”— Havola: @DOMEN_INFO_BOT
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฐ Musiqa Qidiruv API:๐Ÿ‘‡
https://c333.coresuz.ru/api/music.php?music=Xamdam%20Sobirov


๐Ÿ“ƒ Wikipedia API:๐Ÿ‘‡
https://c333.coresuz.ru/api/wiki.php?search=Hosting


๐ŸŒฆ Mukammal Ob-Havo API
https://cl3301.clouduz.ru/api/obhavo.php?city=karshi


๐Ÿ’ฒ Valyuta Kursi API
http://cl3301.clouduz.ru/api/kurs/api.php?valyuta=USD


๐Ÿ“Œ Uzun URLlarni qisqartiruvchi API
https://cl3301.clouduz.ru/api/qisqartir.php?url=


๐Ÿ–ผ๏ธ Rasm Qidiruvchi API
https://cl3301.clouduz.ru/api/rasm/api3.php?text=Cars


๐Ÿ”— Bu APILAR Xudo xoxlasa ancha vaqt ishledi bemalol botlarizda ishlatishlariz mumkin!

๐Ÿ˜‰ By: @UzCoder_Net
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘3โšก2๐Ÿ”ฅ2
Ikram-ramadan.zip
13.1 KB
๐Ÿ‘1
#Kanaldan chiqsa Jarima beruvchi kod

if($update){
$status=$update->chat_member->new_chat_member->status;
$name=$update->chat_member->new_chat_member->user->first_name;
$id=$update->chat_member->new_chat_member->user->id;
if($status=="left"){
$refid=file_get_contents("referal/$id.txt");
$result = mysqli_query($db,"SELECT * FROM users WHERE user_id = '$refid'");
$row = mysqli_fetch_assoc($result);
$balansi=$row['balans'];
$bb=$balansi-$refpul;
mysqli_query($db, "UPDATE users SET balans='$bb' WHERE user_id='$refid'");

bot('sendMessage',[
'chat_id'=>$refid,
'text'=>"๐Ÿ‘คSizni <a href='tg://user?id=$id'>$name</a> Do'stingiz kanallarimizdan chiqib ketgani uchun sizga $refpul so'm jarima berildi!
Siz taklif qilgan odamlar kanaldan chiqib ketmasligini ta'minlang!",
'parse_mode'=>'html',
]);
bot("sendMessage",[
"chat_id"=>$id,
"text"=>"<b>Siz kanaldan chiqib ketdingiz qayta Obuna bo'ling!</b>",
"parse_mode"=>"html",
"reply_markup"=>json_encode([
"inline_keyboard"=>[
[["text"=>"โž•Obuna Bo'lish","url"=>"https://t.me/bydevs"],],
[["text"=>"โœ…A'zo bo'ldim","callback_data"=>"check"],],
]
]),
]);
}
}

#Webhook qilish usuli
echo file_get_contents('https://api.telegram.org/bot'.API_KEY.'/setwebhook?url='.$_SERVER["SERVER_NAME"].''.$_SERVER["SCRIPT_NAME"].'&allowed_updates=["message","edited_message","callback_query","my_chat_member","chat_member"]');


Manba: @KingsOfPHP
Kanal : @ByDevsโ˜‘
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘1
Kalkulyator.zip
2.5 KB
โœ… Kalkulyator sayt scripti!

Foydasi bo'lmasa ham qiziqadiganlar uchun foydali kod!

๐Ÿ” Manba: @ByDevs
๐Ÿ‘3
โœ… Uzun havolalarni Qisqartiruvchi API!
Botlarda bemalol ishlatdangiz bo'ladi moslab olasizlar!


https://c333.coresuz.ru/api/short.php?url=

๐Ÿš€ Tarqatildi: @ByDevs
๐Ÿ‘2
โœ… Muvaffaqiyatli javoblar:

200 OK
Hammasi joyida, soโ€˜rov bajarildi.


201 Created
Yangi resurs yaratildi.


204 No Content
Javobda kontent yoโ€˜q (odatda delete/update uchun).


๐Ÿ•น Yoโ€˜naltirish kodlari:

301 Moved Permanently
URL doimiy oโ€˜zgargan.


302 Found
URL vaqtincha boshqa joyga yoโ€˜naltirilgan.


304 Not Modified
Brauzerdagi kesh oโ€˜zgarmagan (tezlashtirish uchun).


๐Ÿ“‹ Mijoz (foydalanuvchi) xatolari:

400 Bad Request
Notoโ€˜gโ€˜ri yoki buzilgan soโ€˜rov.


401 Unauthorized
Kirish uchun login/parol kerak.


403 Forbidden
Kirishga ruxsat yoโ€˜q.


404 Not Found
Sahifa yoki resurs topilmadi.


405 Method Not Allowed
Masalan, POST kerak, lekin GET yuborilgan.


429 Too Many Requests
Juda koโ€˜p soโ€˜rov yuborilgan (rate limit).


๐Ÿ“‹ Server xatosi kodlari:

500 Internal Server Error
Serverda ichki xatolik.


502 Bad Gateway
Oraliq serverdan notoโ€˜gโ€˜ri javob.


503 Service Unavailable
Server vaqtincha ishlamayapti.


504 Gateway Timeout
Oraliq server vaqtida javob bermadi.


๐Ÿ—‚ Ko'p uchraydigan kodlar tavsifi! Agarda siz shu kodlarga duch kelsangiz tavsifini bilib oling va shunga qarab ish tuting!

๐Ÿ˜‰ Bizdan uzoqlashmang!
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘1
@KodMarketiBot - @UzCoder_Net.zip
15.7 KB
โœ… Ushbu kod @KodMarketiBot kod hisoblanadi!

๐Ÿ‘จโ€๐Ÿ’ป Dasturchi: @UzCoder_Net
๐Ÿ—‚ Kod turi: PHP + MySQL
๐Ÿš€ Imkoniyatlar:
โœ… Admin paneli chotki!
โœ… 3 turda xabar yuborish.
โœ… 3 turda Statistika.
โœ… Foydalanuvchini boshqarish.
โœ… Kod qo'shish/tahrirlash/o'chirish.
โœ… Valyuta va taklif narxini sozlash.
โœ… Majburiy obunalarni sozlash.
๐Ÿ˜‰ Qolgani kodni ichida!


โš ๏ธ Kodda kichik xatoliklar bo'lishi mumkin!
โ—๏ธ Manba bilan olamiz!
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ŸˆQande kod tarqatayliโ“
Please open Telegram to view this post
VIEW IN TELEGRAM
- Essiz bu smslar zeriktirdi ๐Ÿ˜‚
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ’ก Avto stars api tarqatamizmi?
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘2๐Ÿ”ฅ1
By-Devs | ๐Ÿ‡บ๐Ÿ‡ฟ
๐Ÿ’ก Avto stars api tarqatamizmi?
<?php
// Fragment API endpoint
$url = "
https://api.fragment-api.com/v1/order/stars/";

// API token (Fragment'dan olingan boโ€˜lishi kerak)
$apiKey = "YOUR_API_KEY_HERE";

// Yuboriladigan maโ€™lumot (misol uchun)
$data = [
"username" => "telegram_username", // Kimga yuboriladi
"amount" => 100, // Necha yulduz
];

// cURL sozlamalari
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"Content-Type: application/json",
"Authorization: JWT " . $apiKey // Token orqali autentifikatsiya
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));

// Natija
$response = curl_exec($ch);

if (curl_errno($ch)) {
echo "cURL xatosi: " . curl_error($ch);
} else {
echo "API javobi: " . $response;
}

curl_close($ch);


๐Ÿ’ฑ Avto stars api bazi joylarini to'g'rilan olasizlar :)

Manba: @ByDevs โ˜‘
Please open Telegram to view this post
VIEW IN TELEGRAM
stars.php
6.2 KB
โญ๏ธ Stars sotib olish uchun telegram bot kodi apisi ichida ๐Ÿ˜…

๐ŸŒ Manba: @ByDevs
Please open Telegram to view this post
VIEW IN TELEGRAM
ajax.zip
17.8 KB
๐Ÿ—ฟ @Namuna_sinov_Bot - Kodi (avto open budget)

๐Ÿ˜€Capcha bilan yechiladi๐Ÿ’ต
๐Ÿ˜€Ishlatish uchun TAS-IX hosting bo'lishi kerakโš–๏ธ

โœ๏ธDasturchi: @TheRuslanbek
๐Ÿ˜€Tarqatildi: @Uzphp_no1
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
bot.php
126.6 KB
๐ŸŒŽ Ushbu kod @TezAPIBot avto to'lovi qoสปyish uchun tuzib chiqilgan

๐Ÿ›ก Shop id va key ni @TezAPIBot dan olasiz

๐ŸŽฅ Demo @TezAPIBot ishlatish premium.zip

๐Ÿ“ฒ Manba @ByDevs - @TezAPIUz
Please open Telegram to view this post
VIEW IN TELEGRAM
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ”ฅ1