⎙ Coder Net
78 subscribers
1 link
➡️ #CoderNet kanaliga xush kelibsiz!

🌐 Web-sayt kodlari
👨‍💻 Tarqalmagan API kodlar
🖥️ Kompyuter savodhonligi
🐘 PHP bot kodlari
🐍 Python bot kodlar
📤 Kerakli ilovalar

Dasturchi👨‍💻
@bilimli_yigit

Spamlar uchun🤖
@Bilimli_Yigit_Bot
Download Telegram
Channel created
bismillah 08.05.2025

😮‍💨 Assalomu Alaykum «⎙ Coder Net» kanali oʻz ish faoliyatini boshlaydi!

😑 Reaksiya bosib qoʻllab tursalaring nasib bu kanal ham koʻtariladi!
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
header('Content-Type: application/json');

$rand = json_decode(file_get_contents("https://en.wikipedia.org/api/rest_v1/page/random/summary"), true);

echo json_encode([
"title" => $rand["title"],
"description" => $rand["extract"],
"url" => $rand["content_urls"]["desktop"]["page"]
]);




💙 Vikepedia tasodifiy maqola api.
😑 Dasturchi: @bilimli_yigit
😑 Manba kanal: @iCoder_Net
Please open Telegram to view this post
VIEW IN TELEGRAM
<?php
header('Content-Type: application/json');

$url = "https://cbu.uz/uz/arkhiv-kursov-valyut/json/";

$response = file_get_contents($url);

if ($response === FALSE) {
echo json_encode([
"success" => false,
"message" => "Valyuta maʼlumotlarini olishda xatolik yuz berdi."
]);
exit;
}

$data = json_decode($response, true);

$filtered = [];
foreach ($data as $currency) {
$code = $currency['Ccy'];
$filtered[$code] = [
'valyuta' => $currency['CcyNm_UZ'],
'kurs' => $currency['Rate'],
'sana' => $currency['Date']
];
}

echo json_encode([
"success" => true,
"data" => $filtered
], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);


🖤 Manba: @iCoder_Net