28.05.2016, 22:01
Hi buuuudzik,
Try this:
require('trends')
name = 'my trend name'
dates = {}
dates['start'] = { year = 2016, month = 4, day = 12 }
dates['end'] = { year = 2016, month = 4, day = 13 }
-- resolution (in seconds) is optional
-- default trend resolution is used when not set
resolution = nil
res = trends.fetch(name, dates, resolution)
log(res)
BR,
Erwin
Try this:
require('trends')
name = 'my trend name'
dates = {}
dates['start'] = { year = 2016, month = 4, day = 12 }
dates['end'] = { year = 2016, month = 4, day = 13 }
-- resolution (in seconds) is optional
-- default trend resolution is used when not set
resolution = nil
res = trends.fetch(name, dates, resolution)
log(res)
BR,
Erwin