Add basic API example in README

Signed-off-by: chatgris <julien.boyer@af83.com>