0

我注意到GitHubAPI 有一个eTag可用于返回标签以来的更改。 github3.py有办法做到这一点,但我更喜欢PyGithub,因为它感觉更直观。

这个功能存在吗?如果没有,还有其他推荐的图书馆吗?

4

1 回答 1

0

Not right now, unfortunately. EDIT: I could be wrong. Looks like Add Conditional Request and Data Persistence Support Alternative Solution by akfish · Pull Request #193 · PyGithub/PyGithub might have added it.

Here are some related issues for that project. Looks like they are looking for contributors. There's only 3 folks in https://github.com/orgs/PyGithub/people as of Mar 2018.

More generally, Caching Github API calls might be helpful to roll your own or use for implementing inside PyGithub.

于 2018-03-09T18:22:28.433 回答