10000 GitHub - hxgz/icalics: generate ics for chinese ios users with holiday,The almanac and taboo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hxgz/icalics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

概要

主要是生成中国的假期,以及农历凶吉情况的ics文件,可以使用在ios的日历上面。

使用

  • Install

下载代码,并且安装ics.py用到的库,python-dateutil,arrow,six. 直接运行 python2 icalics.py 即可生成假日和命理

  • 配置

参考 Config.py

细节

  • 生成ics使用的库

https://github.com/C4ptainCrunch/ics.py

  • 假期API

http://www.easybots.cn/holiday_api.net

这里用到了

http://www.easybots.cn/api/holiday.php?m=201501,201502,...201512

输出格式:工作日对应结果为 0,休息日对应结果为 1, 节假日对应的结果为 2;

  • 吉凶数据

宜忌:http://51wnl.com/YJData/2015.json

其他命理:http://51wnl.com/moreLumarData/2015.json

About

generate ics for chinese ios users with holiday,The almanac and taboo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0