API-driven Analytics in Data Science

How Data Science APIs help other teams to make data-driven decisions.

Erum
Erum
May 20, 2019 · 3 min read
Photo by Luke Chesser on Unsplash

Postman strives to use data in product decisions. In this article, I will cover our journey from traditional ways of dashboard development to API-driven dashboards for studying usage behavior.

The need for API-driven Analytics

Dashboard Development Workflow 2 Years Ago

It would take usually 2 to 3 iterations to develop a production-ready dashboard owing to back and forth discussions around evolving requirements. As the app complexity further evolved to cater to diverse needs of Postman community, more functions within the organization felt the need of using richer analytics to drive product improvements. We needed a scalable way of fulfilling this need.

Bringing the API way of thought to data science

Building an internal Data API

Existing Dashboard Development Work Workflow with Data API

With the Data APIs in place, the responsibility of the Data Science team reduces to building fundamental APIs through explores.

API-first Data Science

  1. Organization-wide availability of readily consumable metrics
  2. Standardized metric definitions to avoid confusion
  3. Single source of truth
  4. No need to understand the complex relationships between the database tables to fetch data
  5. Elimination of inefficient back and forth between the Business Users and Data Science team
  6. Removes dependency on Data Scientists as the bottleneck in the way of business users’ consumption of analytics
  7. Frees up the Data Scientists’ time for more interesting activities

The Data APIs are a major step towards API-first Data Science where we develop our APIs first and then build our reports and dashboards on top of it. Since we launched these APIs internally, Postman’s product, customer success, and sales teams have begun using them to build higher-level dashboards. These dashboards help them to identify trends and track progress of their respective functions. Best of all, they could do this without raising a request with data science.

Better Practices

For individual engineers to the largest teams, Better…

Better Practices

For individual engineers to the largest teams, Better Practices is intended to distill knowledge from the Postman community. This is a place to learn about modern software practices together! Read more: https://medium.com/better-practices/introducing-better-practices-e9cf14cf0c88

Erum

Written by

Erum

Data Science @ Postman

Better Practices

For individual engineers to the largest teams, Better Practices is intended to distill knowledge from the Postman community. This is a place to learn about modern software practices together! Read more: https://medium.com/better-practices/introducing-better-practices-e9cf14cf0c88

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store