I am using a python framework for my website and due the current python modules for the WoW Api are not updated very often, still missing features and I prefer to get raw data, I wrote my own little module.
It supports: gzip compression, If-Modified-Since header, authorization, SSL
Full documentation can be found at: http://wowapi.wowuse.com/