Full documentation is available at https://developers.tune.com/network/ .
async for results in api.Offer.findAll({
'filters': {
'status': 'active',
},
'contain': [
'Goal',
'Country',
],
'limit': 100, # Set `limit` value for paging results
}, auto_retry=True): # Use `auto_retry` for continue or API usage rate limit
for res in results.values():
print(res['Offer']['name'])
if res['Goal']:
print(len(res['Goal']))
affiliate = await api.Affiliate.findById({'id': 1})
- Python >= 3.6
$ tox