fix for github
add api example in README