def get_pm2_5_info():
 url = ('http://www.pm25.in/api/querys/pm2_5.json?' + ('city=dongguan&token=%s&stations=no' % app.config['PM2_5_TOKEN']))
 res = requests.get(url, timeout=7)
 return res.json()

def get_pm2_5_info ( ) : url = ( 'http://www.pm25.in/api/querys/pm2_5.json?' + ( 'city=dongguan&token=%s&stations=no' % app . config [ 'PM2_5_TOKEN' ] ) ) res = requests . get ( url , timeout = 7 ) return res . json ( )
api 详情：URL .