当前位置:   article > 正文

python github api_PyGithub: PyGithub 是一个 Python 库,封装了 Github V3 API 的各种操作

pygithub

PyGitHub

PyGitHub is a Python library to access the GitHub API v3 and Github Enterprise API v3.

This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.

Install

$pip installPyGithub

Simple Demo

from github import Github

# First create a Github instance:

# using username and password

g = Github("user", "password")

# or using an access token

g = Github("access_token")

# Github

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/902855
推荐阅读
相关标签
  

闽ICP备14008679号