Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 739 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 739 Bytes

mackerel-client CI Gem Version

mackerel-client is a ruby library to access Mackerel (https://mackerel.io/).

Usage

require 'mackerel/client'

@mackerel = Mackerel::Client.new(:mackerel_api_key => "<Put your API key>")
host = @mackerel.get_host("<hostId>")

Installation

Add this line to your application's Gemfile:

gem 'mackerel-client'

And then execute:

bundle

Or install it yourself as:

gem install mackerel-client