GithubHelp home page GithubHelp logo

yoroion / picacomic-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from firmianamarsili/picacomic-api

0.0 0.0 0.0 65 KB

C#版第三方哔咔漫画API

License: GNU Lesser General Public License v3.0

C# 100.00%

picacomic-api's Introduction

picacomic-api

  • vs2019
  • .net5.0
  • 因为post方式使用了HttpClient,在不改变post方式之前最多支持.net4.5
  • nuget只编译了5.0,可以下载源码自行编译4.5+

如何使用

  • NuGet

  • 所有api都在picacomic.PicacomicUrl,在调用picacomic.Header.SetAuthorization("");保存好token以后就可以使用所有api

  • 所有返回的数据已经解析好对应类返回,错误信息会以异常抛出.

  • 个别几个api会返回空的类,没有数据供解析,没有异常就是正常post

  • 未实现接口Recommendation的数据解析,一直返回的数据都是空的,大概接口目前不可用?

  • 未实现下载图片接口,只提供图片下载地址的拼接函数public static string DownloadBook(string fileServer, string path)

示例

 var login = await PicacomicUrl.Login("username", "password");  
 //这个token有使用时长,不建议长期保存,可以运行程序时登录一次
 Header.SetAuthorization(login.Authorization);

感谢

https://github.com/tonquer/picacg-windows

衍生项目

哔咔自动签到

picacomic-api's People

Contributors

firmianamarsili avatar kyocius 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.