2.0.4 • Published 5 years ago

databricks-api v2.0.4

Weekly downloads
475
License
MIT
Repository
github
Last release
5 years ago

databricks-api

Simple databricks rest api client for node.js

Usage

npm install databricks-api
const DataBricks = require('databricks-api')

const client = new DataBricks({domain: your.domain.databricks.com, token: <access_token>})

const {
	Clusters,
	DBFS,
	Groups,
	InstanceProfiles,
	Jobs,
	Runs,
	Libraries,
	SCIM,
	Secrets,
	Workspace,
	Mlflow
} = client

const {
	Experiments,
	Runs: MlRuns,
	Params,
	Metrics,
	Artifacts
} = Mlflow

;(async () => {
	
	const jobList = await Jobs.list()
	const {job_id} = jobList.jobs[0]
	const res = await Jobs.runNow({job_id})
	const {run_id} = res
	const output = await Runs.getOutput({run_id})
	
	console.log(output)
	
})()

All interfaces provided on DataBricks API v2.0 are implemented.

https://docs.databricks.com/api/index.html

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago