An open API service indexing awesome lists of open source software.

https://github.com/cryptiklemur/zzuk-profile-loader


https://github.com/cryptiklemur/zzuk-profile-loader

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# zzuk-profile-loader

Add a reference to the DLL from Releases

Then, in your code:

```csharp
using ProfileLoader;

namespace Example
{
class Program
{
public static void Main()
{
// JSON
ProfileData profileData = Loader.LoadProfile(fullFileName, profileName, ProfileExtension.JSON, ProfileType.Grinding);

//OR

// XML (will download to json for parsing)
ProfileData profileData = Loader.LoadProfile(fullFileName, profileName, ProfileExtension.XML, ProfileType.Grinding);
}

/**
* Can also use the async methods.
*/
public static async Task AsyncMain()
{
// JSON
ProfileData profileData = await Loader.LoadProfileAsync(fullFileName, profileName, ProfileExtension.JSON, ProfileType.Grinding);

//OR

// XML (will download to json for parsing)
ProfileData profileData = await Loader.LoadProfileAsync(fullFileName, profileName, ProfileExtension.XML, ProfileType.Grinding);
}
}
}
```