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

Feature: Initiate and start livestreams for the logged in user #2081

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

gub-7
Copy link
Contributor

@gub-7 gub-7 commented Dec 2, 2024

I noticed the contribution instructions at the bottom of the README, but after i input my pypi api token, i'm told I don't have permission to upload to project instagrapi on pypi. Thus, I am contributing here, if I need to go through pypi, please add me to the organization there, this is my profile.

Schedule livestream initiates the livestream. this will get you your stream url and key (joined together via the ['upload_url'] member of the response). if you pass in autostart=True, then it will also automatically call the start_livestream function. I've found that you can call them like this, and still have a reasonable window to start streaming to the URL, but in case people want to initiate, then start their stream, and then call start I have included both functions separately.

@subzeroid subzeroid merged commit 9ef3207 into subzeroid:master Dec 9, 2024
3 of 6 checks passed
@subzeroid
Copy link
Owner

@gub-7 only I can publish on pypi. Thank you for your contribution to the project!

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

Successfully merging this pull request may close these issues.

2 participants