https://github.com/letscloud-community/letscloud-go
A Go library for the LetsCloud API
https://github.com/letscloud-community/letscloud-go
cloud go go-library golang letscloud
Last synced: 11 months ago
JSON representation
A Go library for the LetsCloud API
- Host: GitHub
- URL: https://github.com/letscloud-community/letscloud-go
- Owner: letscloud-community
- Created: 2020-12-15T03:21:00.000Z (over 5 years ago)
- Default Branch: develop
- Last Pushed: 2025-04-29T15:28:39.000Z (about 1 year ago)
- Last Synced: 2025-04-29T16:34:22.582Z (about 1 year ago)
- Topics: cloud, go, go-library, golang, letscloud
- Language: Go
- Homepage: https://www.letscloud.io
- Size: 28.3 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LetsCloud: A Go library for the LetsCloud Cloud API
The library’s documentation is available at [GoDoc](https://godoc.org/github.com/letscloud-community/letscloud-go),
the public API documentation is available at [developers.letscloud.io](https://developers.letscloud.io/).
## Example
```go
package main
import (
"context"
"fmt"
"log"
"github.com/letscloud-community/letscloud-go"
)
func main() {
client, err := letscloud.New(token) // or use `export LETSCLOUD_API_KEY=your_api_key`
if err != nil {
log.Fatal(err)
}
profile, err := client.Profile()
if err != nil {
log.Fatal(err)
}
fmt.Println(profile)
}
```
## License
MIT license