Read a JSON URL.
(url)
| 460 | |
| 461 | |
| 462 | def read_json_url(url): |
| 463 | """ Read a JSON URL. """ |
| 464 | msg('Downloading %s' % url) |
| 465 | response = urllib2.urlopen(url) |
| 466 | return json.loads(response.read()) |
| 467 | |
| 468 | |
| 469 | g_channel_data = None |
no test coverage detected