You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation.md, the following code snippet gives an error (given in screenshots)
# Import the required module
from scrape_up import github
# Instantiate an object with the username provided.
user = github.Users(username="nikhil25803")
# Call the followers function - it will return the number of followers
per user.followers()
The reason is that per keyword doesn't exist in Python.
So, I've corrected it to use print function instead.
# Import the required module
from scrape_up import github
# Instantiate an object with the username provided.
user = github.Users(username="nikhil25803")
# Call the followers function - it will return the number of followers
print(user.followers())
Add ScreenShots
The output for the code snippet in the documentation.md
Output after replacing per with print function
Record
I agree to follow this project's Code of Conduct
I'm a GSSoC'24 contributor
I want to work on this issue
The text was updated successfully, but these errors were encountered:
Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.
What's wrong with the existing documentation
In the documentation.md, the following code snippet gives an error (given in screenshots)
The reason is that per keyword doesn't exist in Python.
So, I've corrected it to use print function instead.
Add ScreenShots
The output for the code snippet in the documentation.md
Output after replacing per with print function
Record
The text was updated successfully, but these errors were encountered: