diff --git a/SharpQuark/Lightquark.cs b/SharpQuark/Lightquark.cs index a9cb0f3e52c62f5b5f2d0ec68c3820d6da8488b4..86cb2eaa505ae19f8870e6a7e147d4f12cdf3ba3 100644 --- a/SharpQuark/Lightquark.cs +++ b/SharpQuark/Lightquark.cs @@ -1,8 +1,6 @@ -using System.Diagnostics; -using System.Net.Http.Headers; +using System.Net.Http.Headers; using System.Reflection; using Newtonsoft.Json; -using Newtonsoft.Json.Linq; using SharpQuark.Token; namespace SharpQuark; diff --git a/readme.md b/readme.md index 18b5b4a6c6564f35234bd88e6bb9b90adcf65b94..a860e14fa98c9b8b060a25f19a27cce16aae7fb6 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ ## C# API Wrapper for the Lightquark API > [!WARNING] -> ⚠️ Supports API Versions V3 and up. V1 and V2 **ARE NOT** and **WILL NOT** be supported +> Supports API Versions V3 and up. V1 and V2 **ARE NOT** and **WILL NOT** be supported ### Usage @@ -15,7 +15,7 @@ var netInfo = await NetworkInformation.GetNetwork("https://equinox.lightquark.ne // To log in or make any other API calls we need to get the access and refresh tokens, which can be done in two // different ways. For example with email and password: -var tokens = await TokenCredential.Login("testuser@litdevs.org", "wordpass", netInfo); +var tokens = await TokenCredential.Login("email", "password", netInfo); // Or alternatively stored tokens can be used to get the TokenCredential directly, for example from strings: var tokens2 = new TokenCredential((AccessToken)Token.From("access token"), (RefreshToken)Token.From("refresh token"));