import requests
import json


def get_git_releases_json(url, params={}):
    """ Gets the JSON release information from github. """
    response = requests.get(url=url, params=params)
    data = json.loads(response.text)
    # pprint.pprint(data)
    return data