https://github.com/jamen/callbag-github
https://github.com/jamen/callbag-github
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jamen/callbag-github
- Owner: jamen
- License: mit
- Created: 2018-03-22T07:08:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T07:09:07.000Z (about 8 years ago)
- Last Synced: 2025-02-08T01:48:05.511Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# callbag-github
Use streaming APIs from GitHub as [Callbags](https://github.com/callbag/callbag).
## Install
```sh
npm i callbag-github
```
## Usage
Most of the API are from [GitHub's Event API](https://developer.github.com/v3/activity/events)
### `fromPublicEvents()`
See [List public events](https://developer.github.com/v3/activity/events/#list-public-events)
### `fromRepoEvents(owner, repo)`
See [List repository events](https://developer.github.com/v3/activity/events/#list-repository-events)
### `fromIssueEvents(owner, repo)`
See [List issue events for a repository](https://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository)
### `fromNetworkEvents(owner, repo)`
See [List public events for a network of repositories](https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories)
### `fromOrgEvents(org)`
See [List public events for an organization](https://developer.github.com/v3/activity/events/#list-public-events-for-an-organization)
### `fromReceivedEvents(username)`
See [List events that a user has received](https://developer.github.com/v3/activity/events/#list-events-that-a-user-has-received)
### `fromPublicReceivedEvents(username)`
See [List public events that a user has received](List public events that a user has received)
### `fromUserEvents(username)`
See [List events performed by a user](https://developer.github.com/v3/activity/events/#list-events-performed-by-a-user)
### `fromPublicUserEvents(username)`
See [List public events that a user has received](https://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user)
### `fromUserOrgEvents(username, org)`
See [](https://developer.github.com/v3/activity/events/#list-events-for-an-organization)
### `fromJobs(query)`
See [The GitHub Jobs API](https://jobs.github.com/api)