{"id":21020611,"url":"https://github.com/5ime/lanzou_api","last_synced_at":"2025-05-15T07:34:14.144Z","repository":{"id":44381049,"uuid":"285709447","full_name":"5ime/Lanzou_API","owner":"5ime","description":"蓝奏云获取直链/蓝奏云直链解析","archived":false,"fork":false,"pushed_at":"2025-04-28T07:27:07.000Z","size":22,"stargazers_count":147,"open_issues_count":1,"forks_count":50,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-28T08:30:02.939Z","etag":null,"topics":["api","php"],"latest_commit_sha":null,"homepage":"https://docs.tenapi.cn/utility/lanzou.html","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5ime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-07T01:37:15.000Z","updated_at":"2025-04-28T07:27:10.000Z","dependencies_parsed_at":"2023-01-25T20:32:48.697Z","dependency_job_id":null,"html_url":"https://github.com/5ime/Lanzou_API","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2FLanzou_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2FLanzou_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2FLanzou_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5ime%2FLanzou_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5ime","download_url":"https://codeload.github.com/5ime/Lanzou_API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254297398,"owners_count":22047486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","php"],"created_at":"2024-11-19T10:42:21.560Z","updated_at":"2025-05-15T07:34:14.135Z","avatar_url":"https://github.com/5ime.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LanZou_API\n\n一个用于解析蓝奏云分享链接的 API 服务，支持获取文件信息和下载链接。\n\n## 功能特性\n\n- 支持解析蓝奏云分享链接\n- 支持带密码的分享链接\n- 支持获取文件详细信息（文件名、大小、上传时间）\n- 支持直接获取下载链接\n\n## 安装说明\n\n1. 克隆项目到本地：\n```bash\ngit clone https://github.com/5ime/Lanzou_API\n```\n\n2. 确保服务器环境满足以下要求：\n- PHP 7.0 或更高版本\n- 启用 cURL 扩展\n- 支持 HTTPS 请求\n\n## 使用方法\n\n### 基本使用\n\n通过 HTTP GET 请求访问 `public/index.php`，支持以下参数：\n\n- `url`：蓝奏云分享链接（必填）\n- `pwd`：提取码（如果有密码则必填）\n- `type`：值为 \"down\" 时直接跳转下载，否则返回下载链接\n\n### 示例请求\n\n1. 获取文件信息：\n```\nGET /LanZou_API/public/index.php?url=https://www.lanzoui.com/xxxxxx\n```\n\n2. 带密码的分享链接：\n```\nGET /LanZou_API/public/index.php?url=https://www.lanzoui.com/xxxxxx\u0026pwd=xxxx\n```\n\n3. 直接下载：\n```\nGET /LanZou_API/public/index.php?url=https://www.lanzoui.com/xxxxxx\u0026pwd=xxxx\u0026type=down\n```\n\n### 返回格式\n\n成功响应：\n```json\n{\n  \"code\": 200,\n  \"msg\": \"解析成功\",\n  \"data\": {\n    \"name\": \"文件名\",\n    \"size\": \"文件大小\",\n    \"time\": \"上传时间\",\n    \"url\": \"下载链接\"\n  }\n}\n```\n\n错误响应：\n```json\n{\n  \"code\": 400,\n  \"msg\": \"错误信息\",\n  \"data\": null\n}\n```\n\n## 注意事项\n\n1. 请确保服务器能够正常访问蓝奏云网站\n2. 建议在服务器端设置适当的请求频率限制\n3. 本API仅供学习交流使用，请勿用于商业用途\n4. 使用过程中如遇到问题，请检查：\n   - 分享链接是否有效\n   - 提取码是否正确\n   - 文件是否被删除\n   - 服务器网络连接是否正常","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ime%2Flanzou_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5ime%2Flanzou_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5ime%2Flanzou_api/lists"}