OpenMETRC 1.0.2

Suggested Alternatives

Ocelli.OpenMETRC

Additional Details

As part of a re-branding exercise, OpenMetrc has been moved to Ocelli.OpenMetrc. Please consider any other `Ocelli` or `Open*` packages for your future integrations.

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OpenMETRC --version 1.0.2                
NuGet\Install-Package OpenMETRC -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenMETRC" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenMETRC --version 1.0.2                
#r "nuget: OpenMETRC, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenMETRC as a Cake Addin
#addin nuget:?package=OpenMETRC&version=1.0.2

// Install OpenMETRC as a Cake Tool
#tool nuget:?package=OpenMETRC&version=1.0.2                

OpenMETRC

This is the final product that is published to NuGet. It contains several features that do not come out of the box with an OpenAPI code generator. These features include:

  • Credential Management: Just make life easier when maintaining what credentials work with which state.
  • Rate Limiting: While not perfect, it is much better than nothing. Writing your own rate limiter with the rules required is not the most Google-able thing.
  • State/Endpoint Validation: Not every state has every endpoint. OpenMETRC knows what endpoints work where and will cut down on the errors that you may get from METRC.

Development Notes

This tool uses the .NET Connected Service (based on NSwag) to generate the client code base don the OpenApi spec. While this automated feature is invaluable when doing this type of development, it does have a drawback. The client code is only generated once. If the generated code already exists, it will not be re-created. So, if you are making changes to the OpenAPI spec and you need a new version of the client generated, just delete the bin/ directory and rebuild the project.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0-alpha-06 242 4/1/2022
1.1.0-alpha-05 163 3/31/2022
1.1.0-alpha-04 227 3/18/2022
1.1.0-alpha-03 160 3/10/2022
1.1.0-alpha-02 166 2/22/2022
1.1.0-alpha-01 162 2/22/2022
1.0.2 484 2/20/2022 1.0.2 is deprecated because it is no longer maintained.
1.0.1 426 2/16/2022
1.0.0 419 2/16/2022
1.0.0-alpha-02 175 2/6/2022
1.0.0-alpha 99 2/6/2022