Wynncraft API wrapped with delightful modern .NET practices, whilst remaining extremely user friendly.
WynncraftSharp uses .NET Standard 2.1, meaning it is usable on almost all branches of the .NET system, as long as there is a http implementation in the runtime used.
//Although synchronous methods are supported, it is recommended to use async
public async Task Example()
{
//Whilst there is a constructor available on WynncraftApiClient, it is recommended to use builder
IWynncraftApiClientBuilder builder = new WynncraftApiClientBuilder();
//Perform client configuration here such as logging (uses Microsoft's abstraction) and which version of the Wynncraft API you would prefer the wrapper to use
IWynncraftApiClient client = builder.Build();
//Now use any of your favourite Wynncraft API methods with ease!
Guild guild = await client.GetGuildAsync("Gasmask");
}
If you're confident with C#, feel free to help by working on the new v3 restructure, located in the v3-support branch. Once done, open a pull request.
There is no format for issues, both support and issues existing with the wrapper may be added.
- Guilds
- Logging
- Players
- Items
- Professions
- Territories
- Leaderboards
- Lists
Due to the lack of documentation available on the Wynncraft API website and the fact that it is still in development, the version is barely implemented and will be so until it is fully released. Currently, work is being done on redesigning the wrapper in order to support these changes as well as the original API.