Skip to content

dck-jp/mackerel-api-client-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Makapi

A simple C# client library for accessing the Mackerel API.
It offers a similar interface to the Mackerel API Client for Python aka makapi.py


๐Ÿ“ฆ Installation

Makapi is available on NuGet:
๐Ÿ‘‰ https://www.nuget.org/packages/Makapi

Install via .NET CLI:

dotnet add package Makapi

Or via Visual Studioโ€™s NuGet Package Manager:
Search: Makapi


๐Ÿš€ Usage

using WebAPI;

var apiKey = "<YOUR API KEY>";
var m = new Makapi(apiKey);

// GET example
m.get("org");

// PUT example
m.put("hosts/<hostId>");

// POST example
m.post("hosts/<hostId>/status", "{"status":"standby"}");

// DELETE example
m.delete("services/<serviceName>");

๐Ÿ“˜ Documentation

For full API details, see the official Mackerel API docs.


๐Ÿงพ License

MIT License.

About

A lightweight C# client for the Mackerel API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages