python查询redmine中符合特定日期的issue
- 相关库
- redminelib
- datetime
- 例子
#用于取得特定时间后更新的问题票,减少同步的时间 from redminelib import Redmine import datetime redmine = Redmine('redmine address', key='your key') now = datetime.datetime.now() update_time = now.strftime(">=%Y-%m-%dT%H:%M:%SZ") issues = redmine.issue.filter( project_id='myProject', status_id='open', updated_on=update_time)