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

API get functions: get_<response_list>_by_<param> #1

Open
farid002 opened this issue May 21, 2023 · 0 comments
Open

API get functions: get_<response_list>_by_<param> #1

farid002 opened this issue May 21, 2023 · 0 comments
Assignees
Labels
api enhancement New feature or request

Comments

@farid002
Copy link
Owner

Add respective functions in api.py file into APIClass, with a meaningful and single-naming convention:
if a function is generic (takes only querystring parameter), no need for _by_param ---> i.e.: get_fixtures(querystring={"fixture": "2156"})
if a function is not generic and returns based on some parameters, then with _by_param ----> get_fixtures_by_fixture_id(fixture_id)

@farid002 farid002 added enhancement New feature or request api labels May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants