Is it possible to pull the current weather temperature and add 1 degree to it?

Just trying to full around with Curl for the first time and can not find much documentation on how to do something like this.