Skip to content

Add subreddit querying to SubredditService #89

Open
@kgellci

Description

@kgellci

To the SubredditService module, add a method which takes a query string for the search term and returns a list of subreddits which match the query.

You can do this by adding a new route to SubredditService/Sources/APIRoute+Subreddit.swift
The route is subreddits/search

You will then need to create a new api call in SubredditService module which uses CoreAPI.results... with the newly specified route. You will also need to pass through the query string as a parameter all the way through to CoreAPI which makes the call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions