working with the STM electronics LSM303C magnetometer

Weird but on this STMicroelectronics page is the data sheet for my sensor.

Here is the sensor I found code for:

http://www.mouser.com/ds/2/389/CD00260288-280391.pdf

My main worry is the communication protocols. I have exactly zero experience with it and I am struggling to find much help or general guidelines.