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

Mediatool - rename method param to endpoint #1060

Open
mgardzinski opened this issue Sep 26, 2024 · 0 comments
Open

Mediatool - rename method param to endpoint #1060

mgardzinski opened this issue Sep 26, 2024 · 0 comments
Labels
2.0 backlog Backlog for logic issues in connectors after migration 2.0 viadot 2.0 enhancement New feature or request

Comments

@mgardzinski
Copy link

comments @trymzet :
There is an existing standard term for this https://blog.postman.com/what-is-an-api-endpoint/, so (applying the other feedback as well) this code could be simplified to

#1038 (comment)

Suggested changeg:

# first method ORGANIZATIONS
method = "organizations"
organizations_data = mediatool.api_connection(get_data_from=method)
df_organizations = mediatool.to_df(data=organizations_data, column_suffix=method)
df_organizations = mediatool.to_df(endpoint="organizations")
@mgardzinski mgardzinski added the 2.0 backlog Backlog for logic issues in connectors after migration label Sep 26, 2024
@trymzet trymzet changed the title Simplified code in Mediatool source Mediatool - rename method param to endpoint Sep 27, 2024
@trymzet trymzet added 2.0 viadot 2.0 enhancement New feature or request labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 backlog Backlog for logic issues in connectors after migration 2.0 viadot 2.0 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants