add more API examples, license