added API section to README