Skip to content

Instantly share code, notes, and snippets.

@Leen15
Leen15 / get_metabase_data.php
Last active August 28, 2016 16:33
Simple PHP script for expose metabase datasets.
<?php
header('Content-type: text/plain');
$base_url = "https://metabase.domain.com/api/";
$auth_label = "IS_PUBLIC";
$user_email= "METABASE_USER";
$user_pass= "METABASE_PASS";
$card_id = 0;