add api client example