scripts/get_traffic.py
def get_releases(self, url='', headers={}, repo_name=''):
        """
        Retrieves the releases for the given repo in JSON.
        """
        url_releases = (url + '/releases')
        r = requests.get(url_releases, headers=headers)
        self.releases_json[repo_name] = r.json()
def get_releases(self, url='', headers={}, repo_name=''):
        """
        Retrieves the releases for the given repo in JSON.
        """
        url_releases = (url + '/releases')
        r = requests.get(url_releases, headers=headers)
        self.releases_json[repo_name] = r.json()
Retrieves the releases for the given repo in JSON.