17. GitHub Events API
List events performed by a user
https://developer.github.com/v3/activity/events/#list-events-
performed-by-a-user
If you are authenticated as the given user, you will see your private
events. Otherwise, you'll only see public events.
GET /users/:username/events
19. paginationあり
https://developer.github.com/v3/activity/events/
Events support pagination, however the per_page option is
unsupported.The ?xed page size is 30 items. Fetching up to ten
pages is supported, for a total of 300 events.
Only events created within the past 90 days will be included in
timelines. Events older than 90 days will not be included (even if the
total number of events in the timeline is less than 300).
42. 使い方
$ github-nippou help
Commands:
github-nippou help [COMMAND] # Describe available commands or one specific
command
github-nippou list # Displays today's GitHub events formatted for
Nippou
github-nippou version # Displays version
Options:
s, [--since-date=SINCE_DATE] # Retrieves GitHub user_events since the date
# Default: 20160406
u, [--until-date=UNTIL_DATE] # Retrieves GitHub user_events until the date
# Default: 20160406