MediaMath / t1-python

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

min_bid is a string while max_bid is a float #133

Closed zachliu closed 7 years ago

zachliu commented 7 years ago
>>> from terminalone import T1
>>> T1_SDK = T1(T1_USERNAME, T1_PASSWORD, T1_APIKEY)
>>> st = T1_SDK.get("strategies", <STRATEGY_ID>)
>>> type(st.min_bid)
<class 'str'>
>>> type(st.max_bid)
<class 'float'>
FodT commented 7 years ago

It looks like min_bid is actually missing from the entity model for Strategy. Thanks for flagging this, @zachliu

FodT commented 7 years ago

resolved by #135