Product and Design

Databox for Developers

AvatarGasper Vidovicon February 25, 2016 (last modified on June 27, 2016) • 3 minute read

Announcing Databox for Developers!

Ask and you shall receive. After oodles of excited inquiries, we’re pumped to announce the launch of Databox for Developers!

With this launch, we’ve made it really easy for you to push custom data to Databox. Now you, our awesome developer community, can find all the information you need, all in one place, toconnect any data source to Databox移动KPI仪表板和构建自己的美丽. That means you’ll be able to deliver addictive, attention-grabbing visualizations, alerts and notifications, and take advantage of all the power in the Databox platform with just a few lines of code.

So what’s the scoop?

First and foremost, there’s no special developer’s account needed. Just visitdevelopers.www.yu-nung.comand you’ll find everything you need to get started. With oursimple REST API and SDKs,just pick your favorite language (Java, PHP, Ruby, Node.js, GO, or Python) and you’ll be able to connect any data source in minutes. Really.

Databox Developers

Want a quick preview?

Here’s a quick overview of what it takes to get started as a Databox Developer. And of course, all the details are available on ourDatabox for Developerssite.

1. Create a Databox account

If you don’t have your Databox account yet, you cansign-up here. You don’t need a special developers account, so if you already have one, you’re ready to skip to the next step.

2. Get your Token

You’ll need an APItokento send us data. Every account comes with a pre-assigned (‘Default’) token which can be found in the Databox Designer web app under ‘数据管理器’ > ‘Active data connections’ as shown below:

Token

Your token is also shown during account setup when you choose to push your own data instead of selecting a connector.

3. Send your data

Ok, now you can send us data. Here are a few different ways to do that:

  • (recommended) usingour SDKs;
  • through theTerminal Panelin the Databox Designer or
  • directly from a command line with executing a cURL as shown below:
curl https://push.www.yu-nung.com -u YOUR_TOKEN_GOES_HERE: -X POST -H'Content-Type: application/json'-d '{"data":[{"$sales":123000}]}'

The example above will create a metric called ‘Sales’ under the ‘Default’ data source. This is a very basic example, you can also push additional information, such as atimestampsandattributes.

4. See your data

Now you need to create a visualization for the data you just sent us. We present data on so called ‘Datacards.’ They consist of individual visualizations (e.g. pie chart, table, line chart, etc.) called ‘Datablocks.’

So first create a new Datacard, open theDatablocks tabon the left side and drag a ‘Number’ Datablock to your Datacard.

drag-bignumber

Inproperties panel on the right, select the appropriate data source (‘Default’ in this case) and the metric you have just sent (‘Sales’).

Databox - Right panel

Voila, that’s it! Now just download theDatabox Mobile app, log in with your credentials, and check out your very own beautiful new KPI dashboard!

If you get stuck at any point, please don’t hesitate to reach out to us — we’d be happy to help!

About the author
Avatar
Gasper Vidovicis Director of Product at Databox. Also a traveler, lawyer & icon enthusiast.
You may also like...
Read more

New: Connect Your Dashboards Together in Databox Using Looped Databoards

You can now tell the full story of your performance from a variety of sources and viewpoints.

Product and Design| Oct 18 2021

Read more

New Databox Integration: Analyze Your Website and App Analytics with Google Analytics 4

With Databox’s new integration with Google Analytics 4, you can track your entire user journey from the first visit to the final conversion alongside all of your other essential business KPIs.

Product and Design| Sep 20 2021

Read more

Custom Date Ranges Now Enabled for Custom Tokens and Third-Party Integrations

We’ve upgraded our capabilities for tracking indirect integrations in Databox. All Zapier, Integromat, and Custom Token connections now enable Custom Date Ranges.

Product and Design| Jul 5 2021

Baidu