The SketchUp Desktop SDK is available for reading and writing SketchUp files in your own application.