Giter Site home page Giter Site logo

yiyungent / afdian.sdk Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 171 KB

🍰 爱发电 非官方 .NET SDK

Home Page: http://afdian.moeci.com/swagger

License: MIT License

C# 96.93% Dockerfile 0.93% HTML 1.80% JavaScript 0.34%
afdian dotnet dotnet-standard

afdian.sdk's Introduction

Afdian.Sdk

🍰 爱发电 非官方 .NET SDK

repo size LICENSE nuget downloads 爱发电 QQ Group

介绍

Afdian.Sdk: 爱发电 非官方 .NET SDK

使用

dotnet add package Afdian.Sdk
using Afdian.Sdk;


AfdianClient afdianClient = new AfdianClient(userId: "", token: "");
string jsonStr1 = afdianClient.Ping();
string jsonStr2 = afdianClient.QueryOrder(page: 1);
string jsonStr3 = afdianClient.QuerySponsor(page: 1);

var jsonModel1 = afdianClient.QueryOrderModel(page: 1);
var jsonModel2 = afdianClient.QuerySponsorModel(page: 1);

// ...还有一些API, 例如: QueryOrderAsync()

Afdian.Server

基于 Afdian.Sdk 的 非官方 爱发电 在线辅助服务

功能

Docker 快速运行

Docker Compose (推荐)

# 注意: 一定要下载 配置文件: appsettings.json
wget https://raw.githubusercontent.com/yiyungent/Afdian.Sdk/main/src/Afdian.Server/appsettings.json

# 仓库根目录 docker-compose.yml
wget https://raw.githubusercontent.com/yiyungent/Afdian.Sdk/main/docker-compose.yml

docker-compose up -d

开发

单元测试 Tests

secrets.json

{
  "SecretsKeys": {
    "AfdianToken": "",
    "AfdianUserId": ""
  }
}

Related Projects

Donate

Afdian.Sdk is an MIT licensed open source project and completely free to use. However, the amount of effort needed to maintain and develop new features for the project is not sustainable without proper financial backing.

We accept donations through these channels:

Author

Afdian.Sdk © yiyun, Released under the MIT License.
Authored and maintained by yiyun with help from contributors (list).

GitHub @yiyungent Gitee @yiyungent

afdian.sdk's People

Contributors

yiyungent avatar

Stargazers

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