Skip to content

markyin0707/python-github-calendar-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

项目来源

https://github.com/Zfour/python_github_calendar_api.git

原理

通过python爬取github主页的html并从中提取装载gitcalender的table标签里面的每日提交信息,然后将其传给js脚本并生成一个calender的挂件。

原项目存在的问题

github可能是把存放calender的table修改了,所以原项目中的正则匹配失效了,所以就git不到。

我做了些什么

就是重新写了匹配的方式,不能保证以后github再改它不会失效。

使用方法

前提:你大概率得翻墙才能有用
直接在网址上输入:
https://my-git-calender-api.vercel.app/api/?<username>
例如:
https://my-git-calender-api.vercel.app/api/?NinoNeumann

About

用python获取github上的用户贡献信息,部署于vercel的api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%