Skip to content

Wynncraft API wrapped with delightful modern .NET practices

Notifications You must be signed in to change notification settings

NinkyNonkers/WynncraftSharp

Repository files navigation

WynncraftSharp

Wynncraft API wrapped with delightful modern .NET practices, whilst remaining extremely user friendly.

Getting started

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.

Download via NuGet

    //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");
    }

Contributions

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.

Functionality

  • Guilds
  • Logging
  • Players
  • Items
  • Professions
  • Territories
  • Leaderboards
  • Lists

Version 3/Web-API Support

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.

About

Wynncraft API wrapped with delightful modern .NET practices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages