Skip to content

Paperspace/paperspace-go

Folders and files

NameName
Last commit message
Last commit date
Mar 29, 2021
Oct 6, 2022
Jun 27, 2017
Jun 27, 2017
Apr 1, 2021
Sep 3, 2020
Jul 14, 2020
Sep 3, 2020
Jul 20, 2020
Aug 10, 2020
Jan 20, 2022
Sep 28, 2020
Jul 14, 2020
Aug 10, 2020
Aug 20, 2020
Aug 10, 2020
Oct 18, 2021
Mar 29, 2021
Mar 29, 2021
Jul 14, 2020
Jan 11, 2021

Repository files navigation

paperspace-go

Usage

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