XiaoFeng.KuaiShou 1.0.0

dotnet add package XiaoFeng.KuaiShou --version 1.0.0                
NuGet\Install-Package XiaoFeng.KuaiShou -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XiaoFeng.KuaiShou" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XiaoFeng.KuaiShou --version 1.0.0                
#r "nuget: XiaoFeng.KuaiShou, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XiaoFeng.KuaiShou as a Cake Addin
#addin nuget:?package=XiaoFeng.KuaiShou&version=1.0.0

// Install XiaoFeng.KuaiShou as a Cake Tool
#tool nuget:?package=XiaoFeng.KuaiShou&version=1.0.0                

XiaoFeng.KuaiShou

fayelf

GitHub top language GitHub License Nuget Downloads Nuget Nuget (with prereleases)

Nuget:XiaoFeng.KuaiShou

QQ群号 QQ群 公众号
748408911 QQ 群 畅聊了个科技

源码: https://github.com/zhuovi/xiaofeng.kuaishou

教程: https://www.eelf.cn

抖音开放平台SDK

XiaoFeng.KuaiShou

XiaoFeng.KuaiShou generator with XiaoFeng.KuaiShou.

Install

.NET CLI

$ dotnet add package XiaoFeng.KuaiShou --version 1.0.0

Package Manager

PM> Install-Package XiaoFeng.KuaiShou -Version 1.0.0

PackageReference

<PackageReference Include="XiaoFeng.KuaiShou" Version="1.0.0" />

Paket CLI

> paket add XiaoFeng.KuaiShou --version 1.0.0

Script & Interactive

> #r "nuget: XiaoFeng.KuaiShou, 1.0.0"

Cake

// Install XiaoFeng.KuaiShou as a Cake Addin
#addin nuget:?package=XiaoFeng.KuaiShou&version=1.0.0

// Install XiaoFeng.KuaiShou as a Cake Tool
#tool nuget:?package=XiaoFeng.KuaiShou&version=1.0.0

XiaoFeng 类库包含库

命名空间 所属类库 开源状态 说明 包含功能
XiaoFeng.Prototype XiaoFeng.Core 扩展库 ToCase 类型转换<br/>ToTimestamp,ToTimestamps 时间转时间戳<br/>GetBasePath 获取文件绝对路径,支持Linux,Windows<br/>GetFileName 获取文件名称<br/>GetMatch,GetMatches,GetMatchs,IsMatch,ReplacePatten,RemovePattern 正则表达式操作<br/>
XiaoFeng.Net XiaoFeng.Net 网络库 XiaoFeng网络库,封装了Socket客户端,服务端(Socket,WebSocket),根据当前库可轻松实现订阅,发布等功能。
XiaoFeng.Http XiaoFeng.Core 模拟请求库 模拟网络请求
XiaoFeng.Data XiaoFeng.Core 数据库操作库 支持SQLSERVER,MYSQL,ORACLE,达梦,SQLITE,ACCESS,OLEDB,ODBC等数十种数据库
XiaoFeng.Cache XiaoFeng.Core 缓存库 内存缓存,Redis,MemcachedCache,MemoryCache,FileCache缓存
XiaoFeng.Config XiaoFeng.Core 配置文件库 通过创建模型自动生成配置文件,可为xml,json,ini文件格式
XiaoFeng.Cryptography XiaoFeng.Core 加密算法库 AES,DES,RSA,MD5,DES3,SHA,HMAC,RC4加密算法
XiaoFeng.Excel XiaoFeng.Excel Excel操作库 Excel操作,创建excel,编辑excel,读取excel内容,边框,字体,样式等功能
XiaoFeng.Ftp XiaoFeng.Ftp FTP请求库 FTP客户端
XiaoFeng.IO XiaoFeng.Core 文件操作库 文件读写操作
XiaoFeng.Json XiaoFeng.Core Json序列化,反序列化库 Json序列化,反序列化库
XiaoFeng.Xml XiaoFeng.Core Xml序列化,反序列化库 Xml序列化,反序列化库
XiaoFeng.Log XiaoFeng.Core 日志库 写日志文件,数据库
XiaoFeng.Memcached XiaoFeng.Memcached Memcached缓存库 Memcached中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Set,Add,Replace,PrePend,Append,Cas,Get,Gets,Gat,Gats,Delete,Touch,Stats,Stats Items,Stats Slabs,Stats Sizes,Flush_All,Increment,Decrement,线程池功能。
XiaoFeng.Redis XiaoFeng.Redis Redis缓存库 Redis中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了Hash,Key,String,ZSet,Stream,Log,List,订阅发布,线程池功能;
XiaoFeng.Threading XiaoFeng.Core 线程库 线程任务,线程队列
XiaoFeng.Mvc XiaoFeng.Mvc 低代码WEB开发框架 .net core 基础类,快速开发CMS框架,真正的低代码平台,自带角色权限,WebAPI平台,后台管理,可托管到服务运行命令为:应用.exe install 服务名 服务说明,命令还有 delete 删除 start 启动 stop 停止。
XiaoFeng.Proxy XiaoFeng.Proxy 代理库 开发中
XiaoFeng.TDengine XiaoFeng.TDengine TDengine 客户端 开发中
XiaoFeng.GB28181 XiaoFeng.GB28181 视频监控库,SIP类库,GB28181协议 开发中
XiaoFeng.Onvif XiaoFeng.Onvif 视频监控库Onvif协议 XiaoFeng.Onvif 基于.NET平台使用C#封装Onvif常用接口、设备、媒体、云台等功能, 拒绝WCF服务引用动态代理生成wsdl类文件 , 使用原生XML扩展标记语言封装参数,所有的数据流向都可控。
FayElf.Plugins.WeChat FayElf.Plugins.WeChat 微信公众号,小程序类库 微信公众号,小程序类库。
XiaoFeng.Mqtt XiaoFeng.Mqtt MQTT协议 XiaoFeng.Mqtt中间件,支持.NET框架、.NET内核和.NET标准库,一种非常方便操作的客户端工具。实现了MQTT客户端,MQTT服务端,同时支持TCP,WebSocket连接。支持协议版本3.0.0,3.1.0,5.0.0。
XiaoFeng.Modbus XiaoFeng.Modbus MODBUS协议 MODBUS协议,支持RTU、ASCII、TCP三种方式进行通信,自动离线保存服务端数据
XiaoFeng.DouYin XiaoFeng.DouYin 抖音开放平台SDK 抖音开放平台接口
XiaoFeng.KuaiShou XiaoFeng.KuaiShou 快手开放平台SDK 快手开放平台接口
XiaoFeng.Mvc.AdminWinDesk XiaoFeng.Mvc.AdminWinDesk XiaoFeng.Mvc后台皮肤 模仿windows桌面后台皮肤
FayElf.Cube.Blog FayElf.Cube.Blog XiaoFeng.Mvc开发的技术博客 使用低代码开发框架(XiaoFeng.Mvc)+Windows后台皮肤(XiaoFeng.Mvc.AdminWinDesk),开发的一个博客平台。

教程说明

配置文件

命名空间:XiaoFeng.KuaShou.Model

类名:OpenApiOptions

配置文件路径:/Config/KuaiShouOpenApiConfig.json

配置文件内容

{
  "AppId"/*应用唯一标识*/: "",
  "AppSecret"/*应用唯一标识对应的密钥*/: ""
}

配置模型

namespace XiaoFeng.KuaiShou.Model
{
    /// <summary>
    /// OpenAPI配置
    /// </summary>
    [ConfigFile("Config/KuaiShouOpenApiConfig.json", 0, "FAYELF-CONFIG-KUAISHOU-OPENAPI-CONFIG", ConfigFormat.Json)]
    public class OpenApiOptions : ConfigSet<OpenApiOptions>
    {
        #region 构造器
        /// <summary>
        /// 无参构造器
        /// </summary>
        public OpenApiOptions()
        {

        }
        #endregion

        #region 属性
        /// <summary>
        /// 应用唯一标识
        /// </summary>
        [Description("应用唯一标识")]
        public string AppId { get; set; }
        /// <summary>
        /// 应用唯一标识对应的密钥
        /// </summary>
        [Description("应用唯一标识对应的密钥")]
        public string AppSecret { get; set; }
        #endregion

        #region 方法

        #endregion
    }
}

接口方法

var api = new OpenAPI();

//获取AccessToken
var AccessTokenModel = await api.GetAccessTokenAsync("code码");

//刷新Refresh_Token
var RefreshAccessTokenModel = await api.RefreshRefreshAccessTokenAsync("refreshToken");

//公开信息
var user = await api.GetUserInfoAsync("accessToken");

//其它接口都是在api下不再一一列出.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 156 2/27/2024

发行第一个版本