Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panoramicdata/logicmonitor.api

LogicMonitor REST API nuget package
https://github.com/panoramicdata/logicmonitor.api

api dotnet dotnet-standard logicmonitor nuget

Last synced: 5 days ago
JSON representation

LogicMonitor REST API nuget package

Awesome Lists containing this project

README

        

# LogicMonitor.Api

The LogicMonitor REST API nuget package, authored by Panoramic Data Limited.

[![Nuget](https://img.shields.io/nuget/v/LogicMonitor.Api)](https://www.nuget.org/packages/LogicMonitor.Api/)
[![Nuget](https://img.shields.io/nuget/dt/LogicMonitor.Api)](https://www.nuget.org/packages/LogicMonitor.Api/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/c35eed8f289a4e11bcf1fd63dd5271ce)](https://www.codacy.com/gh/panoramicdata/LogicMonitor.Api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=panoramicdata/LogicMonitor.Api&utm_campaign=Badge_Grade)

If you want some LogicMonitor software developed, come find us at: https://www.panoramicdata.com/ !

To get started, watch the videos here:

http://www.panoramicdata.com/products/logicmonitor-api-nuget-package/

A simple example:

```c#
using LogicMonitor.Api;

[...]

public static async Task GetAllResources(ILogger logger, CancellationToken cancellationToken)
{
using var logicMonitorClient = new LogicMonitorClient(
new LogicMonitorClientOptions
{
Account = "acme",
AccessId = "accessId",
AccessKey = "accessKey",
Logger = logger
}
);

var resources = await logicMonitorClient
.GetAllAsync(cancellationToken)
.ConfigureAwait(false);

Console.WriteLine($"Resource Count: {resources.Count}");
}