Adding api example for observe
Merge pull request #37 from blink1073/example-api-observe

Adding api example for observe