<|file_name|>modules.py<|end_file_name|><｜fim▁begin｜># -*- coding: utf-8 -*-
"""
Created on Tue Mar 14 02:17:11 2017

@author: guida
"""
import json
import requests

def <|fim_middle|>(url):
    response = requests.get(url)
    content = response.content.decode("utf8")
    return content

#Json parser
def get_json_from_url(url):
    content = get_url(url)
    js = json.loads(content)
    return js<｜fim▁end｜>
get_url