ZeitApiClient

new ZeitApiClient(options: Object)
Parameters
options (Object)
Name Description
options.token Object Api token
Example
const ZeitApiClient = require("zeit-api-client")
const ZEIT_TOKEN = "your_zeit_now_token" // process.env.ZEIT_TOKEN
const zeitApi = new ZeitApiClient({token:ZEIT_TOKEN})
Instance Members
getUser()
createDeployment(data)
getDeployments(options)
getDeployment(deploymentId)
getDeploymentFiles(deploymentId)
getDeploymentFile(deploymentId, fileId)
deleteDeployment(deploymentId)
getLogs(deploymentId)
getAliases(options)
getDeploymentAliases(deploymentId)
getSecrets()
getTeams()
getProjects(options)