A program to scrape github followers
Project description
github-scrape
About
Scrapes github pages for a specified user, displays a report about the user's current account status.
The report contains:
- Number of followers
- Number of users being followed
- Number of users following but not following back
- Opposite of '3.'
- Check number of repositories
- List repositories
Installation
For first time installation: ''' pip install github-scrape '''
For recurring installation/update: ''' pip install github-scrape --upgrade '''
Usage
To use the package, you have to import using any of the following:
Step 1:
from akinyeleib import reader
from akinyeleib import reader as r
Step 2:
Create an object of "Github" class
It's constructor accepts the github username as an argument
For this example, we would use username "akinyeleib"
user1 = reader.GitHub("akinyeleib")
Or:
user1 = r.GitHub("akinyeleib")
Step 3:
Use the object to access several methods from the class Some of the available methods include:
print(f"Followers: {user1.getFollowers()}")
print(f"Following: {user1.getFollowing()}")
print("FollowersNotFollowing: " + user1.getFollowersNotFollowing())
print("FollowingNotFollowers: " + user1.getFollowingNotFollowers())
print(user1.getDetails())
Other methods include: getFollowing, getFollowers, getRepos
Thank you.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for github_scrape-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed758cac809816dd364bbdc7529aa3b541344a5a5daa93e73f41a5f0f1081633 |
|
MD5 | b8946a52418a517dd22821281de0a70d |
|
BLAKE2b-256 | 7c71bee7a7b5c08ac2dfa3b7754e56219bfab5347cd3ee8be019c4eca0ffbbf1 |