Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awilliams/linode
go package for interacting with the Linode API
https://github.com/awilliams/linode
Last synced: about 1 month ago
JSON representation
go package for interacting with the Linode API
- Host: GitHub
- URL: https://github.com/awilliams/linode
- Owner: awilliams
- License: mit
- Created: 2014-06-24T16:01:27.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-06-24T16:38:56.000Z (over 10 years ago)
- Last Synced: 2024-06-19T15:16:59.045Z (7 months ago)
- Language: Go
- Size: 156 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
linode
======go package for interacting with the Linode API. Automatically batches requests.
[GoDoc](http://godoc.org/github.com/awilliams/linode)
As of now, it only supports two API methods:
* [linode.list()](https://www.linode.com/api/linode/linode.list)
* [linode.ip.list()](https://www.linode.com/api/linode/linode.ip.list)## Usage
```go
apiKey := "secretAPIKey"
client := linode.NewClient(apiKey)linodes, err := client.LinodeList()
ips, err := client.LinodeIPList([]int{1,2,3})
```