make a crude API for getting sales data