GithubHelp home page GithubHelp logo

skoef / statuspage-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nagelflorian/statuspage-go

0.0 0.0 0.0 17 KB

๐Ÿ“ก statuspage.io client for Go.

Home Page: https://godoc.org/github.com/nagelflorian/statuspage-go

License: MIT License

Go 99.20% Dockerfile 0.80%

statuspage-go's Introduction

statuspage-go GitHub Actions

This repository contains a Go client library for accessing the Statuspage REST API v1.

Install the package

Install statuspage-go via go-get:

go get github.com/nagelflorian/statuspage-go

Getting Started

Before you can initialize an instance you'll have to obtain an API key from the Statuspage account view.

package main

import "github.com/nagelflorian/statuspage-go"

func main() {
  client := statuspage.New("YOUR_API_KEY", nil)

  // Use the client.

  // Get the page profile for a given page id
  page, err := client.Page.GetPage(context.TODO(), "YOUR_PAGE_ID")
}

API Documentation

The official Statuspage API documentation can be found here: developer.statuspage.io.

License

This library is distributed under the MIT-style license found in the LICENSE file.

statuspage-go's People

Contributors

nagelflorian avatar yulintan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.