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

Make DEFAULT_SERVICE supported behaviour #10

Open
erkghlerngm44 opened this issue Apr 17, 2019 · 0 comments
Open

Make DEFAULT_SERVICE supported behaviour #10

erkghlerngm44 opened this issue Apr 17, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@erkghlerngm44
Copy link
Owner

So the package can be restricted to use one service only, so the service won't have to be specified on every request.

Currently it defaults to ANILIST while showing a warning, if no service is specified.

Maybe some examples:

import aniffinity
aniffinity.endpoints.DEFAULT_SERVICE = "MYANIMELIST"
aniffinity.Aniffinity("erkghlerngm44")
...

or possibly specified in the Aniffinity class?

import aniffinity
af = aniffinity.Aniffinity("erkghlerngm44", base_service="ANILIST", ...something)

Or possibly something else?

@erkghlerngm44 erkghlerngm44 added the enhancement New feature or request label Apr 17, 2019
@erkghlerngm44 erkghlerngm44 added this to the v0.3.0 milestone Apr 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant