Create a class in Python to store temperature data.
class TemperatureData:
    def __init__(self, temperature):
        self.temperature = temperature

    def get_temperature(self):
        return self.temperature