# coding: utf-8

import requests

ROOT_ENDPOINT = "https://api.github.com"


def get_user(username):
    url = "{}/users/{}".format(ROOT_ENDPOINT, username)
    r = requests.get(url)
    return r.json()

1afaf4e776512a899af36aa30b6a9b0a7b5e8f39
<mask token>

<mask token>


def get_user(username):
    url = '{}/users/{}'.format(ROOT_ENDPOINT, username)
    r = requests.get(url)
    return r.json()

<mask token>
ROOT_ENDPOINT = 'https://api.github.com'


def get_user(username):
    url = '{}/users/{}'.format(ROOT_ENDPOINT, username)
    r = requests.get(url)
    return r.json()

import requests
ROOT_ENDPOINT = 'https://api.github.com'


def get_user(username):
    url = '{}/users/{}'.format(ROOT_ENDPOINT, username)
    r = requests.get(url)
    return r.json()

# coding: utf-8

import requests

ROOT_ENDPOINT = "https://api.github.com"


def get_user(username):
    url = "{}/users/{}".format(ROOT_ENDPOINT, username)
    r = requests.get(url)
    return r.json()
