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

Improve requesters API. #43

Open
khrynczenko opened this issue Jul 30, 2018 · 0 comments
Open

Improve requesters API. #43

khrynczenko opened this issue Jul 30, 2018 · 0 comments

Comments

@khrynczenko
Copy link
Owner

khrynczenko commented Jul 30, 2018

Idea: Make possible to use different stations list providers and enable to change them at run-time.

By requester I mean object that that results in list of available stations. Result might come from request to some web-api or local database etc.
For now there is only one HTTP requester namely one that uses www.radio-browser.info web-api. Because of that there is no interface for general Requester which in result ties the program to use only this one particular wep-api.

Solution: Make Requesters into strategies. Factory for retrieving them.

@khrynczenko khrynczenko added this to the v0.2.0-beta milestone Jul 30, 2018
@khrynczenko khrynczenko removed this from the v0.2.0 milestone Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant