API source code dropping soon! Stay tuned to our channel for the update.
Give Reaction 🙂
👍3😁3👀2❤1
🌐 WEBSITE SCRAPING API
👀 View Details & Response 👇
Click Here
⚠️ Note: Follow Us On Github & Make Sure To Give ⭐ Star On Repository
<?php
$download_file = false;
header('Content-Type: application/json');
if (isset($_GET['url'])) {
$url = $_GET['url'];
if (filter_var($url, FILTER_VALIDATE_URL)) {
$host = parse_url($url, PHP_URL_HOST);
$unique = uniqid();
$baseName = $host . "_" . $unique;
$zipName = $baseName . ".zip";
$zipTempPath = sys_get_temp_dir() . "/" . $zipName;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
$html = curl_exec($ch);
if (curl_errno($ch)) {
echo json_encode(["status" => "error", "message" => "cURL error"]);
exit;
}
curl_close($ch);
if ($html === false) {
echo json_encode(["status" => "error", "message" => "Failed to fetch HTML"]);
exit;
}
preg_match_all('/<img[^>]+src=["\'](.*?)["\']/i', $html, $images);
preg_match_all('/<link[^>]+href=["\'](.*?)["\']/i', $html, $links);
preg_match_all('/<script[^>]+src=["\'](.*?)["\']/i', $html, $scripts);
$resources = array_merge($images[1], $links[1], $scripts[1]);
$zip = new ZipArchive();
if ($zip->open($zipTempPath, ZipArchive::CREATE) !== TRUE) {
echo json_encode(["status" => "error", "message" => "Cannot create ZIP"]);
exit;
}
$zip->addFromString("index.html", $html);
foreach ($resources as $res) {
$resUrl = parse_url($res, PHP_URL_SCHEME) ? $res : rtrim($url, '/') . '/' . ltrim($res, '/');
$resData = @file_get_contents($resUrl);
if ($resData !== false) {
$resPath = parse_url($resUrl, PHP_URL_PATH);
$ext = pathinfo($resPath, PATHINFO_EXTENSION);
$fileName = basename($resPath);
if ($ext == "css") {
$zip->addFromString("css/" . $fileName, $resData);
} elseif ($ext == "js") {
$zip->addFromString("js/" . $fileName, $resData);
} elseif (in_array($ext, ["jpg", "jpeg", "png", "gif", "webp", "svg"])) {
$zip->addFromString("images/" . $fileName, $resData);
} else {
$zip->addFromString("assets/" . $fileName, $resData);
}
}
}
$zip->close();
if ($download_file) {
$savePath = "downloads/";
if (!file_exists($savePath)) mkdir($savePath, 0777, true);
$finalPath = $savePath . $zipName;
if (copy($zipTempPath, $finalPath)) {
unlink($zipTempPath);
$urlPath = "https://" . $_SERVER['HTTP_HOST'] . "/" . $finalPath;
echo json_encode(["status" => "success", "url" => $urlPath]);
} else {
echo json_encode(["status" => "error", "message" => "Failed to move ZIP file"]);
}
} else {
header('Content-Type: application/zip');
header('Content-Disposition: attachment; filename="' . $host . '.zip"');
header('Content-Length: ' . filesize($zipTempPath));
flush();
readfile($zipTempPath);
unlink($zipTempPath);
exit;
}
} else {
echo json_encode(["status" => "error", "message" => "Invalid URL"]);
}
} else {
echo json_encode(["status" => "error", "message" => "No URL provided"]);
}
?>
👀 View Details & Response 👇
Click Here
⚠️ Note: Follow Us On Github & Make Sure To Give ⭐ Star On Repository
👍5🔥1🏆1
Flex Coder
🌐 WEBSITE SCRAPING API <?php $download_file = false; header('Content-Type: application/json'); if (isset($_GET['url'])) { $url = $_GET['url']; if (filter_var($url, FILTER_VALIDATE_URL)) { $host = parse_url($url, PHP_URL_HOST); …
If You Find This Api Code Useful Give Reaction On Post. Soon More Codes Are Gone Drop 🤗
I Just Need Is Your Support 🙂
I Just Need Is Your Support 🙂
👍5👏2
New video is going live today at ⏰ 6:00 PM!
Today’s video will be API setup video. Further thumbnail will also look very similar like current video. As This Is Let You Know That's This Is Part Of Our Api Setup Video.
⚠️ Note: I won’t be using my voice in this one so it might be a bit longer than usual.
But I promise, it’s packed with value:
Useful knowledge, full API code, and step-by-step guidance for everyone who wants to learn without coding!
I’m sharing this from the heart, hoping it helps you grow and yes, every view and like means a lot to me too!
Today’s video will be API setup video. Further thumbnail will also look very similar like current video. As This Is Let You Know That's This Is Part Of Our Api Setup Video.
⚠️ Note: I won’t be using my voice in this one so it might be a bit longer than usual.
But I promise, it’s packed with value:
Useful knowledge, full API code, and step-by-step guidance for everyone who wants to learn without coding!
I’m sharing this from the heart, hoping it helps you grow and yes, every view and like means a lot to me too!
👍2🎉1
Flex Coder
New Video Uploaded 👇 https://youtu.be/csSHxZSaFB4 ⚠️ Note: Like, Share And Subscribe
Aagr Nhi Dekha Hoga To Dekh Lena 🙂
New Api Setup Video Jaldi Aane Wale Hai 😚
New Api Setup Video Jaldi Aane Wale Hai 😚
❤2👍2
🎬 Movie Details Api
🧑💻 Code:
👀 View Details & Response 👇
View Now
📹 Setup Video: https://youtu.be/jXFLL1gva4o
🧑💻 Code:
export default async function handler(req, res) {
const { search } = req.query;
if (!search) {
return res.status(400).json({ error: "Please provide ?search=movie_name" });
}
try {
const response = await fetch(`https://api.tvmaze.com/search/shows?q=${encodeURIComponent(search)}`);
const data = await response.json();
if (!data.length) {
return res.status(404).json({ error: "No results found" });
}
const show = data[0].show;
res.status(200).json({
title: show.name,
genres: show.genres,
language: show.language,
rating: show.rating?.average,
summary: show.summary?.replace(/<[^>]+>/g, ''),
image: show.image?.original || show.image?.medium || null,
url: show.url
});
} catch (err) {
res.status(500).json({ error: "Something went wrong" });
}
}
👀 View Details & Response 👇
View Now
📹 Setup Video: https://youtu.be/jXFLL1gva4o
👍3🔥2
Flex Coder
🎬 Movie Details Api 🧑💻 Code: export default async function handler(req, res) { const { search } = req.query; if (!search) { return res.status(400).json({ error: "Please provide ?search=movie_name" }); } try { const response = await fet…
Abhi tak nahi dekha? To zaroor dekh lena!
🙂 Playlist mein aapko bhot kuch kaafi useful cheezein milengi.
✨ API setup chahiye?
Step-by-step videos se sab clear hoga.
👉 Playlist Click Karein
📂 Koi API code chahiye aur nahi mila?
Mujhe batao, turant share kar dunga!
⚙️ Aapki need meri priority hai.
👉 Contact Me
🙏 Support mile ya na mile, help karta rahunga.
😔 Profit ho ya na ho, bas aapka saath chahiye.
❤️ Agar kaam pasand aaye to Subscribe zaroor karein!!
🙂 Playlist mein aapko bhot kuch kaafi useful cheezein milengi.
✨ API setup chahiye?
Step-by-step videos se sab clear hoga.
👉 Playlist Click Karein
📂 Koi API code chahiye aur nahi mila?
Mujhe batao, turant share kar dunga!
⚙️ Aapki need meri priority hai.
👉 Contact Me
🙏 Support mile ya na mile, help karta rahunga.
😔 Profit ho ya na ho, bas aapka saath chahiye.
❤️ Agar kaam pasand aaye to Subscribe zaroor karein!!
👍3🔥3
✍️ Shayari Api
🧑💻 Half Code:
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/n5yxR1aOmlw
🧑💻 Half Code:
import express from "express";
import cors from "cors";
import router from "./routes/route.js";
import languages_array from "./languages.js";
const port = process.env.PORT || 3000;
const app = express();
app.use(cors({
origin: "*",
methods: ['GET', 'POST']
}));
app.get("/", (req, res) => {
res.send("API Is Running");
});
app.get("/language-list", (req, res) => {
res.send(languages_array);
});
app.use("/language", router);
app.listen(port, () => {
console.log(App running on port ${port});
});
export default app;
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/n5yxR1aOmlw
👍2😍2
Flex Coder
✍️ Shayari Api 🧑💻 Half Code: import express from "express"; import cors from "cors"; import router from "./routes/route.js"; import languages_array from "./languages.js"; const port = process.env.PORT || 3000; const app = express(); app.use(cors({ …
👉 Other New Api Also Coming Today At 6:30 Pm
Suggest More Api 👇
Suggest More Api 👇
👍2👌1
💬 Advice Api
🧑💻 Code:
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/NOVCSXr9yOc
🧑💻 Code:
export default async function handler(req, res) {
const response = await fetch("https://api.adviceslip.com/advice");
const data = await response.json();
res.status(200).json({ advice: data.slip.advice });
}
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/NOVCSXr9yOc
⚡1👍1
Flex Coder
💬 Advice Api 🧑💻 Code: export default async function handler(req, res) { const response = await fetch("https://api.adviceslip.com/advice"); const data = await response.json(); res.status(200).json({ advice: data.slip.advice }); } 👀 View Details & Response…
🧑💻 Kuch Din Mein Aapko Bhoto Video Channel Pe Upload Karne Wala Hu Q Ki Mera Target Hai End Of This Month Mujhe 500+ Subscriber Karna Hai.
🤗 So Aagr Aapko Mere Content Aacha Lagtha Hai Mujhe Support Karna Chathe Ho
🤗 So Aagr Aapko Mere Content Aacha Lagtha Hai Mujhe Support Karna Chathe Ho
Subscribe Karo
❤1👍1
👍2⚡1
💫 Anime Detail Api
🧑💻 Code:
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/kIcl52nHVzY
🧑💻 Code:
import fetch from 'node-fetch';
export default async function handler(req, res) {
const { name } = req.query;
if (!name) {
return res.status(400).json({ error: 'Name is required' });
}
const searchUrl = `https://api.jikan.moe/v4/anime?q=${encodeURIComponent(name)}&page=1`;
const searchResponse = await fetch(searchUrl);
const searchData = await searchResponse.json();
if (searchData.data && searchData.data.length > 0) {
const anime = searchData.data[0];
return res.status(200).json({
title: anime.title,
episodes: anime.episodes,
genre: anime.genres.map(g => g.name).join(', '),
synopsis: anime.synopsis,
image_url: anime.images.jpg.image_url
});
}
return res.status(404).json({ error: 'Anime not found' });
}
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/kIcl52nHVzY
👍5❤1👏1
Flex Coder
https://youtu.be/kIcl52nHVzY
Aagr Dekha Nhi Hoga To Dekh Lo. Or Subscribe Be Kar Lena 😔
👍2🔥1
Kal Konsi Api Lau 🤔?
(Which Api Should I Bring Tommorrow 🤔?)
(Which Api Should I Bring Tommorrow 🤔?)
Final Results
27%
🗺️ IP + Device Verification Api
73%
📱 Temporary Number Api
👍1😍1
Flex Coder
Kal Konsi Api Lau 🤔?
(Which Api Should I Bring Tommorrow 🤔?)
(Which Api Should I Bring Tommorrow 🤔?)
😔 Sorry For Telling You. But Unfortunately Temporary Number Api Is Like SMSFetcherAPI.
👉 Like Enter Share Number From Particular Website And It Will Fetch Message Of That Number.
🙂 But I Am Trying My Best To Find Temporary Number Api And Which Will Be Post Soon
👉 Like Enter Share Number From Particular Website And It Will Fetch Message Of That Number.
🙂 But I Am Trying My Best To Find Temporary Number Api And Which Will Be Post Soon
👍2😍1
🌎 IP ADDRESS INFORMATION API
🧑💻 Half Code:
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/BlRC31IXZfg
🧑💻 Half Code:
const fetch = require('node-fetch');
module.exports = async (req, res) => {
const ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;
const response = await fetch(`http://ip-api.com/json/${ip}`);
const data = await response.json();
👀 View Details & Response 👇
View Now
📹 Setup Video:
https://youtu.be/BlRC31IXZfg
👍3❤1😁1