MediaMath / t1-python

Python SDK for MediaMath Platform APIs
https://developer.mediamath.com/
Apache License 2.0
18 stars 28 forks source link

add other_params dict param to get #128

Closed FodT closed 7 years ago

FodT commented 7 years ago

have an explicit other_params dict param in get for passing in service specific arguments.

for example for deals: d , count = t1.get("deals", query="name=:*testquery-*", other_params = {"permissions.advertiser_id":123456}, get_all=True)

mwalfisch commented 7 years ago

I tested the above with t1.get("deals", query="name=:*CV-*", other_params = {"permissions.advertiser_id":100306}, get_all=True) and it seems to match the results received from the API directly.