Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New endpoint - Get Channel Stream Schedule #34

Open
xeon927 opened this issue Jan 9, 2022 · 1 comment
Open

New endpoint - Get Channel Stream Schedule #34

xeon927 opened this issue Jan 9, 2022 · 1 comment

Comments

@xeon927
Copy link

xeon927 commented Jan 9, 2022

Were there any plans to implement the new(ish) endpoint as per https://dev.twitch.tv/docs/api/reference#get-channel-stream-schedule ?

If needed, I can have a poke around on my machine and see if I can get it to work based on the other existing endpoints as a guide?

@Plazide
Copy link
Owner

Plazide commented Jan 9, 2022

Yeah, the goal is to support every endpoint. I just don't have time to work on this as much anymore.

You are very welcome to try it yourself. The most tedious part is adding the types for the method. You need to add at least three types, one in src/types/objects.ts, one in src/types/responses.ts and on in src/types/options.ts.

You then need to add tests for the new method in tests/api.test.ts.

Let me know if you have any questions or there is anything you are unsure about, either through a comment in this issue or via a DM on Twitter(@chj_web).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants