Adds example of initializing api to readme