api basics, tables and examples