glacasa / Mastonet

C# Library for Mastodon
MIT License
225 stars 36 forks source link

Add missing APIs for tags #92

Closed bitbonk closed 1 year ago

bitbonk commented 1 year ago

Mastodon has some APIs for tags that are still missing in IMastodonClient:

It would be cool, if they would be added.

glacasa commented 1 year ago

It's done, you can get the last nuget package (2.0.3), and you will have the new methods :

Task<Tag> GetTagInfo(string tag);
Task<Tag> FollowTag(string tag);
Task<Tag> UnfollowTag(string tag);
Task<MastodonList<Tag>> ViewFollowedTags(ArrayOptions? options = null);