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

Trending posts #221

Open
srid opened this issue Nov 3, 2022 · 1 comment
Open

Trending posts #221

srid opened this issue Nov 3, 2022 · 1 comment

Comments

@srid
Copy link

srid commented Nov 3, 2022

Hi! Interesting project. Do you know if RFD has API for the Trending category?

This project itself doesn't use it from what I can tell:

rfd-notify/src/rfd.rs

Lines 40 to 42 in 6b1d5cb

pub async fn get_hot_deals() -> Result<String, Box<dyn std::error::Error>> {
let resp = reqwest::get("https://forums.redflagdeals.com/api/topics?forum_id=9&per_page=40")
.await?

@davegallant
Copy link
Owner

Hi. Unfortunately this public API is not documented anywhere (AFAIK).

There doesn't appear to be a way to filter for Trending on the Android app, so the API may not support it.

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