added sample project using api