demo code of our soon to be released public api