Are there any public streaming api?

I read the github api docs and I did not find the streaming api like twitter streaming api .
I want to implement the public channel of the github repository via js on the client side without a server. Is it possible?
Should I create a github server and application and authenticate my server on github so that I can fulfill all requests through it?

+4
source share
1 answer

There is no streaming API for GitHub. I doubt that they have plans to add one to be frank.

Your initial request may receive the last 30 events, and then poll the ETag header of this request for updates. You need to authenticate (somehow, not necessarily with the application) in order for it to work. Given that each request must come from a different IP address, I would jeopardize that speed limits will not apply globally to all visitors, regardless of who they authenticate with. This, however, would be a great question for the GitHub API support team.

+1
source

Source: https://habr.com/ru/post/1493950/