a little library api usage