An open API service indexing awesome lists of open source software.

https://github.com/veliscore/githubinformation

A tool that lets you check your GitHub Project for updates.
https://github.com/veliscore/githubinformation

Last synced: 3 months ago
JSON representation

A tool that lets you check your GitHub Project for updates.

Awesome Lists containing this project

README

        



# githubinformation

[![License](https://img.shields.io/badge/License-MIT-blue)](https://github.com/wfxey/githubinformation#license) [![PyPi](https://img.shields.io/badge/PyPi%20Link-FFFF00)](https://pypi.org/project/githubinformation/) Contributors badge ![PyPI - Downloads](https://img.shields.io/pypi/dm/githubinformation)

A tool that lets you check your GitHub Project for updates.

## Installation

You can install `githubinformation` using pip:

```bash
pip install githubinformation
```
# .repo

### get_repo_info(owner, repo)

```python
import githubinformation

repo_info = githubinformation.repo.get_repo_info("wfxey", "binaryconvert")
```

### All subinfos

```python
import githubinformation

repo_info = githubinformation.repo.get_repo_info("wfxey", "binaryconvert")

if repo_info:
print(f"Repository: {repo_info['full_name']}")
print(f"Description: {get_description(repo_info)}")
print(f"Stars: {get_stars(repo_info)}")
print(f"Forks: {get_forks(repo_info)}")
print(f"Open Issues: {get_open_issues(repo_info)}")

repo_link(f"{owner}/{repo}")
```

### Output

```bash
Repository: wfxey/binaryconvert
Description: A super easy python tool that converts your text in binary language 8x Bit
Stars: 1
Forks: 0
Open Issues: 0
```


# .user

### user_link(user)

```python
import githubinformation

githubinformation.user.user_link("wfxey")
```
### Output
```bash
https://github.com/wfxey
```


# .release

### release_link(name_and_repo, tag)

```python
import githubinformation

githubinformation.release.release_link("VelisCore/diec", "v1.0")
```
### Output
```bash
https://github.com/VelisCore/diec/releases/tag/v1.0
```