UMTrackr 1.0.0

dotnet add package UMTrackr --version 1.0.0
NuGet\Install-Package UMTrackr -Version 1.0.0
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="UMTrackr" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UMTrackr --version 1.0.0
#r "nuget: UMTrackr, 1.0.0"
#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 UMTrackr as a Cake Addin
#addin nuget:?package=UMTrackr&version=1.0.0

// Install UMTrackr as a Cake Tool
#tool nuget:?package=UMTrackr&version=1.0.0

Instructions

Step 1:

From nuget package manager, install Trackr package

Step 2:

add using statement to project

Step 3:

Use Trackr functions within your own code.

Example working cs file

using Trackr;

string myApiKey = "pVUYgxZySwbp6iSvmQQLQHl0ywA2X3m5Gg93cKSFoMPU5k6IVTWgoUUV9YpsAQh0";

uint myFieldId = 1;

uint myOffset = 0;

int myLimit = 10;

string myOrder = "asc";

string myUrl = "someAddress/api/values";

List<string> myValues = new List<string> { "1", "2", "3", "4", "5", "6", "7" };

<br/><br/>

await testManyValues(myApiKey, myFieldId, myValues);

await testSingleValue(myApiKey, myFieldId, myValues[0]);

await testGetValues(myApiKey, myFieldId, myOffset, myLimit, myOrder);

testUpdateEndpoint(myUrl);

<br/><br/>

static void testUpdateEndpoint(string url)

{<br/><br/> Console.WriteLine("Current endpoint is: " + Trackr.Trackr.ShowEndpoint());<br/> Trackr.Trackr.UpdateEndpoint(url);<br/> Console.WriteLine("New endpoint is: " + Trackr.Trackr.ShowEndpoint());<br/> }

static async Task testManyValues(string myApiKey, uint myFieldId, List<string> myValues)<br/> {<br/>       Console.WriteLine("Adding many values");<br/>       HttpResponseMessage response = await Trackr.Trackr.AddManyValues(myApiKey, myFieldId, myValues);<br/>       Console.WriteLine("Content: " + response.Content);<br/>       Console.WriteLine("Status: " + response.StatusCode);<br/>       Console.WriteLine("Done adding many values");<br/> }

static async Task testSingleValue(string myApiKey, uint myFieldId, string myValue)<br/> {<br/>       Console.WriteLine("Adding a value");<br/>       HttpResponseMessage response = await Trackr.Trackr.AddSingleValue(myApiKey, myFieldId, myValue);<br/>       Console.WriteLine("Content: " + response.Content);<br/>       Console.WriteLine("Status: " + response.StatusCode);<br/>       Console.WriteLine("Done adding one value");<br/> }

static async Task testGetValues(string myApiKey, uint myFieldId, uint myOffset, int myLimit, string myOrder)<br/> {<br/>       Console.WriteLine("Getting values");<br/>       HttpResponseMessage response = await Trackr.Trackr.GetValues(myApiKey, myFieldId, myOffset, myLimit, myOrder);<br/>       Console.WriteLine("Content: " + response.Content);<br/>       Console.WriteLine("Status: " + response.StatusCode);<br/>       if (response.IsSuccessStatusCode)<br/>       {<br/>             string responseBody = await response.Content.ReadAsStringAsync();<br/>             Console.WriteLine(responseBody);<br/>       }<br/>       Console.WriteLine("Done getting values");<br/> }<br/>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

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.0.0 152 7/12/2023