Google Drive Downloader API
Dokumentasi resmi Google Drive Downloader API dari Maelyn API untuk info file dan direct download file publik Google Drive (terverifikasi)
Base Information
- BASE_URL_API:
https://api.maelyn.eu/api - Path / Endpoint:
/downloader/gdrive - Method:
GET - Credit Usage:
2
Authentication
Gunakan header berikut pada setiap request:
x-maelyn-auth: YOUR_API_KEY
Query Parameters
Endpoint ini mengembalikan nama file, ukuran, dan direct download URL file publik Google Drive yang sudah diverifikasi valid.
Example Request
GET /downloader/gdrive?url=https://drive.google.com/file/d/1thDYWcS5p5FFhzTpTev7RUv0VFnNQyZ4/view
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL file drive.google.com. |
Example Usage
GET /downloader/gdrive?url=https://drive.google.com/file/d/1thDYWcS5p5FFhzTpTev7RUv0VFnNQyZ4/view
Success Response
{
"success": true,
"data": {
"platform": "gdrive",
"title": "PRESET 338 - ASRROR.xml",
"size_human": "129.56 KB",
"medias": [
{
"label": "original",
"url": "https://drive.usercontent.google.com/download?id=...&export=download",
"valid": true,
"content_type": "application/octet-stream",
"size": null
}
],
"download_url": "https://drive.usercontent.google.com/download?id=...&export=download"
}
}
Error Response
Not Found
{
"success": false,
"error": "NOT_FOUND",
"message": "File Google Drive tidak ditemukan / tidak publik."
}