https://github.com/paperspace/paperspace-go
Paperspace API go library
https://github.com/paperspace/paperspace-go
go paperspace paperspace-api
Last synced: 8 months ago
JSON representation
Paperspace API go library
- Host: GitHub
- URL: https://github.com/paperspace/paperspace-go
- Owner: Paperspace
- License: isc
- Created: 2017-06-27T15:13:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-10-06T16:09:08.000Z (over 3 years ago)
- Last Synced: 2024-11-08T11:52:26.497Z (over 1 year ago)
- Topics: go, paperspace, paperspace-api
- Language: Go
- Homepage:
- Size: 40 KB
- Stars: 9
- Watchers: 14
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# paperspace-go
## Usage
```go
package main
import (
paperspace "github.com/Paperspace/paperspace-go"
)
func getClient() *paperspace.Client {
client := paperspace.NewClient()
client.APIKey = p.APIKey
return client
}
```
## Environment Variables
- PAPERSPACE_APIKEY: Paperspace API key
- PAPERSPACE_BASEURL: Paperspace API url
- PAPERSPACE_DEBUG: Enable debugging
- PAPERSPACE_DEBUG_BODY: Enable debug for response body