app working with api