taoh / linodego

an unofficial Go client implementation for Linode API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

linodego

Overview

Package linodego is an unofficial Go client implementation for Linode API. Check the Linode API documentation for details: https://www.linode.com/api

Current API implementation supports using api_key request parameter. All requests are sent using GET methods. While it is also possible to use POST method by setting UsePost, Linode API seems to return response with keys captialized. Unmarshaling such response isn't fully tested.

TODO: Batch request is not implemented yet.

Example

Check examples/client.go for sample usage. Note that you must supple API Key in examples/client.go before running the program. Get API from https://manager.linode.com/profile/api

go run examples/client.go

Test

Update API Key in api_key_test.go, then run:

go test

Installation

go get "github.com/taoh/linodego"

Package

import "github.com/taoh/linodego"

Documentation

See GoDoc

License

The MIT License (MIT)

Copyright (c) 2015 TH

About

an unofficial Go client implementation for Linode API

License:MIT License


Languages

Language:Go 100.0%