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

 
 
 

Contributors

Languages