A python library to scrape github
Project description
Gitscrpy
A python library to scrape github.Simple to use syntaxInstall using pip
Install
pip install gitscrpy
Run
from gitscrpy import getgit
# Imports the package
a=getgit.gitinit("fredysomy")
# Initialize
# User repository functions
a.getrepo(n)
# return the first n repos in the users repository list.
a.getrepo(2)
# [{'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +âš¡ Instant Hosting in The Web.âš¡', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}, {'name': 'fredysomy', 'url': 'https://github.com/fredysomy/fredysomy', 'stars': '4'}]
a.getrepo(1)
# {'name': 'MarkdownIt', 'description': 'Efficient Code Editor to live render Markdown and save as Markdown,Html and Pdf +âš¡ Instant Hosting in The Web.âš¡', 'url': 'https://github.com/fredysomy/MarkdownIt', 'stars': '13'}
# User details functions
a.getuser("star")
# Retrun no of stars user have
# 172
a.getuser("name")
# Returns the name of the User
# Fredy Somy
a.getuser("u_name")
# Returns the Username of the User
# fredysomy
a.getuser("follower")
# Returns no of followers the User
# 25
a.getuser("following")
# Returns the no of following the User
# 60
a.getuser("img")
# Returns the link to the User avatar
# https://hfsjdhfjshd.com
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
pysondb-0.1.4.tar.gz
(5.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysondb-0.1.4.tar.gz.
File metadata
- Download URL: pysondb-0.1.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3317305b00711153c2f249593b01ef3710a0fa79e89dcf8d057385afa93296
|
|
| MD5 |
3bb1116f3d200dc729ae9eb7d1637350
|
|
| BLAKE2b-256 |
d1e35f8440cb00fa39480d69865adada9b2cc5345ff577addf5e5189f195d2dd
|
File details
Details for the file pysondb-0.1.4-py3-none-any.whl.
File metadata
- Download URL: pysondb-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3d2c58b72e9fdc6f3437a155a4fa56dad210b0af5b5c857c1bdb47db7c85702
|
|
| MD5 |
475586490a3c5685d4ebd64fc6df75f2
|
|
| BLAKE2b-256 |
9a6632af6fa455bec9d07e0217e2d540fe2fb5e2ec3384c6388d4c60d9abfd29
|