Giter Club home page Giter Club logo

ctfilehelper's Introduction

#CtFile

非官方API,慎用。

程序内置了打码平台(dama2.com),每次使用之前需要初始化城通网盘的账号数据和打码平台的账号数据。

登录方法(Login)中已经做了缓存,如果之前已经登录过,且登录未失效,将会直接返回之前的登录状态,否则将会进行自动登录;登录的验证码交由打码平台完成。

new DaMa.DaMaTuInit(username, password);

new Login(username, password);

登录成功后,程序将会把cookie写入PublicConfig.Cookie中,并且往本地的Cache文件夹写入缓存文件

###创建文件夹

在使用之前,需要先初始化数据

string Data = Folder.Create("FolderName", "描述");

###通过文件夹名称获取文件夹ID

在使用之前,需要先初始化数据

int ID = Folder.GetFolderID("2017-04-06");

###上传文件到文件夹

在使用之前,需要先初始化数据

new UpFile().Up("d:\\temp.jpg", "文件夹名称");

ctfilehelper's People

Contributors

jxiaoc avatar

Watchers

 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.