best tips for api usage