praw
praw copied to clipboard
R/PAN support
Describe the solution you'd like
Is anyone already working on support for R/PAN (Reddit Public Access Network) broadcasts? Specifically the following calls:
Get a list of valid RPAN subreddits:
curl -X GET "https://strapi.reddit.com/recommended_broadcaster_prompts" -H "User-Agent: Broadcaster 0.0.1" -H "Authorization: Bearer TOKEN"
Create a new broadcast:
curl -X POST "https://strapi.reddit.com/r/{subreddit}/broadcasts?title={title}" -H "User-Agent: Broadcaster 0.0.1" -H "Authorization: Bearer TOKEN"
Stop a broadcast:
curl -X POST "https://strapi.reddit.com/videos/{stream_id}/end" -H "User-Agent: Broadcaster 0.0.1" -H "Authorization: Bearer TOKEN"
Describe alternatives you've considered
No response
Additional context
No response
I don't think praw implements unofficial end points. The list of official end points are here https://www.reddit.com/dev/api/
I don't think praw implements unofficial end points. The list of official end points are here https://www.reddit.com/dev/api/
We will as long as you can access them with third party applications. There are several PRAW features that rely on unofficial endpoints.
I have not tested the strapi endpoint to see if a third party access token will work with it yet but I'll add it to my todo list.
We will as long as you can access them with third party applications. There are several PRAW features that rely on unofficial endpoints.
Does that mean praw can add chat endpoints? I feel like adding an unofficial endpoint is a bit risky because Reddit could pull the plug on that feature.
There are several PRAW features that rely on unofficial endpoints
Didn't know that. What features are those?
Does that mean praw can add chat endpoints? I feel like adding an unofficial endpoint is a bit risky because Reddit could pull the plug on that feature.
Not chat or the gql endpoint as those are restricted.
Didn't know that. What features are those?
The ones I can think of off the top of my head: Inline media, drafts, invited moderators, gallery posts, uploading images/videos to Reddit directly for posts, and modifying subreddit settings that only appear on new Reddit.
This issue is stale because it has been open for 20 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
This issue is stale because it has been open for 20 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.
In which variable is the access token stored in PRAW? I'd like to write my own RPAN code for the time being.
You can access the access token with reddit._core._authorizer.access_token just note that you will have to refresh this yourself if you plan on making requests manually without PRAW/prawcore.
Unfortunately, Reddit is sunsetting r/PAN. So I'm going to close this issue as won't fix.