How to import and painnt the model with SketchUp API

I am going to import the models and change its color in web page.
Please help me.