Development of an application programming interface for depletion analysis (APIDA)