#!/usr/bin/python3
"""
script that takes your Github credentials (username and password) and
uses the Github API to display your id
"""
import requests
from sys import argv


if __name__ == "__main__":
    url = "https://api.github.com/user"
    user = argv[1]
    pswd = argv[2]

    response = requests.get(url, auth=(user, pswd))
    r_json = response.json()

    print(r_json.get("id"))
