mastodon-api-cs:用于C#的Mastodon API客户端库-源码

上传者: 42135754 | 上传时间: 2021-02-03 01:05:43 | 文件大小: 55KB | 文件类型: ZIP
Mastodon API客户端库,用于C# 适用于C#的Mastodon API客户端库(PCL 4.5,配置文件111) 始终欢迎拉动需求! 主分支 发展分支 安装 Install-Package Mastodon.API 将应用程序注册到Mastodon实例 var authClient = new MastodonAuthClient ( new Uri ( " https://friends.nico " )); var redirectUri = new Uri ( " urn:ietf:wg:oauth:2.0:oob " ); var scope = OAuthAccessScope . of ( OAtuhAccessScopeType . Read ); var app = await authClient . CreateApp ( " client_name " , redirectUri , scope ); 已注册的OAuth应用程序被分配了唯一的客户端ID和客户端密钥。 用电子邮件地址和密码登录 不建议在服务中使用。 建议对应用程序使用授权码授予流程。

文件下载

资源详情

[{"title":"( 77 个子文件 55KB ) mastodon-api-cs:用于C#的Mastodon API客户端库-源码","children":[{"title":"mastodon-api-cs-master","children":[{"title":".travis.yml <span style='color:#111;'> 347B </span>","children":null,"spread":false},{"title":"Mastodon.API.sln <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"Mastodon.API","children":[{"title":"Response.cs <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"ApiClientBase.cs <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"Entities","children":[{"title":"StatusVisibility.cs <span style='color:#111;'> 641B </span>","children":null,"spread":false},{"title":"Status.cs <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"Mention.cs <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"Notification.cs <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"Results.cs <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"Attachment.cs <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"Card.cs <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"Instance.cs <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"MastodonApp.cs <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"Relationship.cs <span style='color:#111;'> 2.28KB </span>","children":null,"spread":false},{"title":"Tag.cs <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"Token.cs <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"Account.cs <span style='color:#111;'> 4.58KB </span>","children":null,"spread":false},{"title":"Report.cs <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"Context.cs <span style='color:#111;'> 1.44KB </span>","children":null,"spread":false},{"title":"OAuthAccessScope.cs <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Error.cs <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"Application.cs <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"packages.config <span style='color:#111;'> 162B </span>","children":null,"spread":false},{"title":"MastodonAuthClient.cs <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false},{"title":"MastodonApiConfig.cs <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"Link.cs <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"MastodonApiException.cs <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Mastodon.API.csproj <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"MastodonApi.cs <span style='color:#111;'> 26.43KB </span>","children":null,"spread":false},{"title":"Extensions.cs <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"IMastodonApi.cs <span style='color:#111;'> 16.63KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"appveyor.yml <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"Mastodon.API.Tests","children":[{"title":"Mastodon.API.Tests.csproj <span style='color:#111;'> 4.25KB </span>","children":null,"spread":false},{"title":"Entities","children":[{"title":"InstanceTest.cs <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"TokenTest.cs <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"CardTest.cs <span style='color:#111;'> 966B </span>","children":null,"spread":false},{"title":"AttachmentTest.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"StatusTest.cs <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"ErrorTest.cs <span style='color:#111;'> 537B </span>","children":null,"spread":false},{"title":"RelationshipTest.cs <span style='color:#111;'> 612B </span>","children":null,"spread":false},{"title":"MentionTest.cs <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"ApplicationTest.cs <span style='color:#111;'> 596B </span>","children":null,"spread":false},{"title":"TagTest.cs <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"AccountTest.cs <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"OAuthAccessScopeTest.cs <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"ReportTest.cs <span style='color:#111;'> 565B </span>","children":null,"spread":false},{"title":"StatusVisibilityTest.cs <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"MastodonAppTest.cs <span style='color:#111;'> 696B </span>","children":null,"spread":false}],"spread":false},{"title":"packages.config <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"MastodonApiTest.cs <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"ExtensionsTest.cs <span style='color:#111;'> 509B </span>","children":null,"spread":false},{"title":"TestUtils.cs <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"Resources","children":[{"title":"next_link <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"get_tag.json <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"get_token.json <span style='color:#111;'> 102B </span>","children":null,"spread":false},{"title":"get_account.json <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"get_error.json <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"get_mastodon_app.json <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"get_instance.json <span style='color:#111;'> 112B </span>","children":null,"spread":false},{"title":"get_relationship.json <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"prev_link <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"get_mention.json <span style='color:#111;'> 118B </span>","children":null,"spread":false},{"title":"get_attachment.json <span style='color:#111;'> 497B </span>","children":null,"spread":false},{"title":"get_report.json <span style='color:#111;'> 50B </span>","children":null,"spread":false},{"title":"get_status.json <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"get_card.json <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"get_application.json <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"next_and_prev_link <span style='color:#111;'> 158B </span>","children":null,"spread":false}],"spread":false},{"title":"LinkTest.cs <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"ApiClientBaseTest.cs <span style='color:#111;'> 5.07KB </span>","children":null,"spread":false},{"title":"Mocks","children":[{"title":"MockHttpClient.cs <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"MockHttpMessageHandler.cs <span style='color:#111;'> 837B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 462B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明