WriteAs.Net 1.2.0
Version 1.2.0 of WriteAs.Net has been released.
This latest version now allows you to enter an API key when initializing a WriteAsClient
instance. This API key will allow you to bypass the rate limiting checks on the Write.as API.
Some basic in-memory caching has also been added to the client. You can configure some of the cache settings when initializing a WriteAsClient
instance. The new settings are described below:
cacheExpirationInSeconds
determines how long data will stay in the cache before it expires. The default value for this setting is 300 seconds.cacheSize
determines how many objects it can store in the cache. Note that a collection of posts (List<Post>
) and a single post each count as 1 item. The default value for this setting is 4.
You can install it via nuget:
Install-Package WriteAs.NET -Version 1.2.0
Or via the .NET Core command line interface:
dotnet add package WriteAs.NET --version 1.2.0
If you find any bugs or issues with it, please let me know. Thanks and y'all have a good weekend.
Tags: #DotNet #WriteAs #WriteAsNet
Discuss... or leave a comment below.