Update readme with api docs, example
fix travis file typo