Code for thermocouple MAX31850K

I want to use the max31850k to control more than 2 thermocouples to control a fan.
Can you please give some advice on where I can find imp code of this unit? Or a sommilar example I can follow using an electric imp?

If it is similar to the 31855, that is probably a good start.

I am new in programing and I think the 850 has this one wire bus , I will check the 855 to see it works the same.