Coder Social home page Coder Social logo

fnjerry / aliyundriver-refresh-token Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itxve/aliyundriver-refresh-token

0.0 0.0 0.0 64 KB

QR Code扫码获取阿里云盘refresh token For Web

Home Page: https://aliyundriver-refresh-token.vercel.app

License: MIT License

TypeScript 83.40% HTML 16.60%

aliyundriver-refresh-token's Introduction

QR Code 扫码获取阿里云盘 refresh token

Vercel 部署

本地 开发

  • yarn serve
  • yarn vercel:dev 需要登陆

生成二维码

说明 : 调用此接口 , 获取二维码

调用例子 : /api/generate

可选参数 : img: boolean

返回说明 :

  • t : 一个用于查询的参数传递给 /api/state-query (tip:这个不是当前的时间戳)
  • ck : 一个用于查询的参数传递给 /api/state-query
  • codeContent : img为 true 时是一个 base64 图片否则是二维码的接口地址(可自行绘制二维码)

查询二维码状态

说明 : 调用此接口 ,查询二维码状态

调用例子 : /api/state-query?t=&ck=

必选参数 :

t : 使用 /api/generate接口返回的 t

ck : 使用 /api/generate接口返回的 ck

tip : 如果不匹配 查询结果一直是 EXPIRED的状态

返回说明 :

  • qrCodeStatus
    • NEW: "请用阿里云盘 App 扫码",
    • SCANED: "请在手机上确认",
    • EXPIRED: "二维码已过期",
    • CANCELED: "已取消",
    • CONFIRMED: "已确认"
  • bizExt 用户信息、token 等... (已经 base64 解码了,可直接食用)

说明 : 调用此接口 ,查询进行签到

调用例子 : /api/sign?refreshToken=

必选参数 :

refreshToken : 一个用于刷新 token 的 refreshToken

返回 :

本月累计签到 x 天
第 x 天奖励领取成功: 获得 xxx

查询阿里云资源链接是否有效

说明 : 调用此接口 ,查询源链接是否有效

调用例子 : /api/check_link?link=

必选参数 :

link : 云盘资源链接 示例:https://www.aliyundrive.com/s/{xxx}

返回说明 :

  • code 包装的是原接口的状态 200即为有效
  • msg 详情信息
  • data 包装的是原接口的响应 (不做说明)

相关项目

阿里云盘每日签到脚本 青龙面板支持

阿里云盘 Go SDK

Demo

示例

License

The MIT License (MIT)

最后申明

本项目仅做学习交流, 禁止用于各种非法途径!!! 本项目仅做学习交流, 禁止用于各种非法途径!!! 本项目仅做学习交流, 禁止用于各种非法途径!!!

aliyundriver-refresh-token's People

Contributors

itxve avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.