How do you order what websites reply in Skype4Py? <p>I use Skype4Py for my Skype Bot I've been working on. <br> I was wondering how I could order what the APIs respond.<br> For example, if I wanted to get the weather, I'd type !weather<br> and it would respond with: </p> <blockquote> <p>Gathering weather information. Please wait...<br> Weather: { "data": { "current_condition": [ {"cloudcover": "0", "humidity": "39", "observation_time": "11:33 AM", "precipMM": "0.0", "pressure": "1023", "temp_C": "11", "temp_F": "51", "visibility": "16", "weatherCode": "113", "weatherDesc": [ {"value": "Clear" } ], "weatherIconUrl": [ {"value": "http://cdn.worldweatheronline.net/images/wsymbols01_png_64/wsymbol_0008_clear_sky_night.png" } ], "winddir16Point": "N", "winddirDegree": "0", "windspeedKmph": "0", "windspeedMiles": "0" } ], "request": [ {"query": "90210", "type": "Zipcode" } ] }} </p> </blockquote> <p>and I would like to have it be more like: </p> <blockquote> <p>Weather:<br> Current Temp: 51 F | 22 C<br> Humidity: 39%<br> Wind Speed: 0 MPH</p> </blockquote> <p>or something cleanly ordered out like that.<br> That way it looks less ugly in Skype, and looks more professional. </p> <hr> <p>I should've added the code: </p> <pre><code> def weather(zip): try: return urllib2.urlopen('http://api.worldweatheronline.com/free/v1/weather.ashx?q='+zip+'&amp;format=json&amp;num_of_days=1&amp;fx=no&amp;cc=yes&amp;key=r8nkqkdsrgskdqa9spp8s4hx' ).read() except: return False </code></pre> <p>That is my functions.py </p> <p>This is my commands.py: </p> <pre><code> elif msg.startswith('!weather '): debug.action('!weather command executed.') send(self.nick + 'Gathering weather information. Please wait...') zip = msg.replace('!weather ', '', 1); current = functions.weather(zip) if 4 &gt; 2: send('Weather: ' + current) else: send('Weather: ' + current) </code></pre> <p>Like I stated, I'm using Skype4Py, and yeah. </p>