Skip to content

unplaceable/gitprofile

Repository files navigation

made-with-python GitHub license

GitHub: github.com/euanacampbell/gitprofile

PyPi: pypi.org/project/gitprofile

Installation

pip install gitprofile

Import

from gitprofile.github import profile

Setup

from gitprofile.github import profile

github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)

Repositories

from gitprofile.github import profile

github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)

for repo in user_profile:
    print( repo.title )

# github-public
# octopus_energy_api
# boggle_solver
# System-Monitoring
# Pathfinding-Algorithm
# pegasus
# euanacampbell.github.io
# sqlite-editor
# reddit-client

Accessible details

from gitprofile.github import profile

github_user_name = 'euanacampbell'
user_profile = profile(github_user_name)

first_repo = user_profile.repositories[0]

first_repo.title
#gitprofile

first_repo.url
#https://github.com/euanacampbell/gitprofile

first_repo.description
#Extract public repository data.