added marketplace api and example to match example in other clients