def METHOD_NAME():
    issues = list()
    page = 1
    while True:
        r = requests.get("https://api.github.com/repos/MDSplus/mdsplus/issues",
                         params={'state': 'open', 'page': page})
        if r.ok:
            page += 1
            new_issues = json.loads(r.text)
            if len(new_issues) > 0:
                f = open('issues-%d.txt' % page, 'w')
                f.write(r.text.encode('utf-8'))
                f.close()
                issues += new_issues
            else:
                break
    return issues