Platform
Resources
Pricing
Sign in
Get started
Daniel Bachler
Workspace
Fork
Published
EdelweissData interactive documentation
By
Daniel Bachler
Edited
Aug 28, 2020
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
edelweissUrl
=
"https://api.edelweissdata.com"
Insert cell
getDatasets
=
function
(
)
{
// here we assume that a variable accessToken exists and contains the access token string value
return
fetch
(
`${
edelweissUrl
}/datasets`
,
{
headers
:
{
'Authorization'
:
`bearer ${
accessToken
}`
}
,
}
)
.
then
(
response
=>
response
.
json
(
)
)
}
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
oidcResult
=
fetch
(
`${
edelweissUrl
}/oidc`
,
{
method
:
'GET'
}
)
.
then
(
response
=>
response
.
json
(
)
)
Insert cell
Insert cell
Insert cell
import
{
secret
}
from
"@tmcw/secret"
Insert cell
import
{
table
}
from
"@tmcw/tables@513"
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
AccessTokens
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
accessToken
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
edelweissUrl
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
getDatasets
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
getDatasetsButton
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
datasetsResponse
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
refreshTokens
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
oidcResult
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML