How to access onboard Temperature and Accelerometer Sensor?

Hi, Is it possible to access the onboard Temperature and Accelerometer Sensor from Notecard?