chore(docs): add API documentation and examples