Redmage/api/download_subreddit_posts.go

17 lines
325 B
Go
Raw Normal View History

2024-04-10 17:13:07 +07:00
package api
import (
"context"
"github.com/tigorlazuardi/redmage/api/reddit"
)
type DownloadSubredditPostsParams struct {
Page int
Limit int
}
2024-04-10 22:38:19 +07:00
func (api *API) DownloadSubredditPosts(ctx context.Context, subredditName string, params DownloadSubredditParams) (posts []reddit.Listing, err error) {
2024-04-10 17:13:07 +07:00
return posts, err
}