Share your files on Google Drive securely, link protected and optimized download speed.
Turn your shared files into earnings! Monetize your Google Drive files directly on GDShare.
View API Documentationhttps://gdshare.org/api/file
file_id
: A valid Google Drive file ID (Public shared) file_name
: (Optional) A custom name for your file, this file name will overide the file name on Google Drive ad_url
: (Optional) Direct advertiment link or affiliate link to monetize your file. This url will be opened as a popup.image_url
: (Optional) A thumbnail image url of the file.description
: (Optional) Short description about your file to attract users to download.
const fileId = "1bJBs59LNjxYghoTnc_q8FSaW0pHEaYg0";
const domains = "mydomain.com,otherdomain.net";
const response = await fetch(`https://gdshare.org/api/video?file_id=${fileId}&domains=${domains}`);
const data = await response.json();
console.log(data.embed_url);
{{api.response}}