Basic .NET package for the vendor NewZip, allows you to interact with the NewZip API.
Hosted here: https://github.com/kyle079/NewZipAPI.net/pkgs/nuget/NewZipAPI
- SubmitLeadAsync:
- Will submit a lead to the NewZip API and return a response.
- NewZipService can be used with either Dependency Injection or without.
- If using Dependency Injection, you can add the service to your services collection in your Startup.cs file.
- This assumes you are storing your NewZip API key in your appsettings.json file under NewZip:ApiKey. Else it will default to the "demo" key.
- The NewZipService has been tested with xUnit. You can find the tests in the NewZipServiceTests.cs project.
- The test will submit a lead to the NewZip API and check the response using the demo token.
- .NET Standard 2.0
- .NET Standard 2.1