Tags: Riges/Netatmo
Tags
chore: Extract release workflow for automated NuGet package publishin… …g with release-drafter action (#179) This pull request includes significant changes to the GitHub Actions workflows, specifically around the CI and release processes. The most important changes involve the removal of the old CI workflow and the addition of a new release workflow. Changes to GitHub Actions workflows: * [`.github/workflows/ci.yml`](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL1-L70): Removed the entire CI workflow configuration, which included testing on multiple operating systems, building packages, and publishing artifacts. * [`.github/workflows/release.yml`](diffhunk://#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34R1-R50): Added a new release workflow configuration that triggers on tag pushes, builds and tests the package, and publishes the NuGet package and release artifacts. --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fix: quick fix for netatmo api changes Extend CredentialManager to accept refresh_token and add warning message for deprecated GenerateToken Example usage: ```csharp var clientId = "myClientId"; var clientSecret = "myClientSecret"; var accessToken = "myAccessToken"; var refreshToken = "myRefreshToken"; var client = new Client( SystemClock.Instance, "https://api.netatmo.com/", clientId, clientSecret); client.ProvideOAuth2Token(accessToken, refreshToken); await client.RefreshToken(); var stationsData = await client.Weather.GetStationsData(); ``` Refs: #167 #168
PreviousNext