On 16/08/16 21:25, Malcolm Boone wrote:
> I'm trying to run a python script that will download all files uploaded to
> my companies Slack account from the past 30 days.
I've no idea what a slack account is but I'm assuming
some kind of web server... I've made a few general
observations, I don;t
> On Aug 16, 2016, at 15:25, Malcolm Boone wrote:
>
> if __name__ == '__main__':
>while 1:
>files_list_url = 'https://slack.com/api/files.list'
>date = str(calendar.timegm((datetime.now() + timedelta(-30))
>.utctimetuple()))
>data =
Hello everyone!
I'm trying to run a python script that will download all files uploaded to
my companies Slack account from the past 30 days. I'm new to Python, so to
achieve this, I've just been editing a script that I use to delete all
Slack files from the past 30 days.
Here is the code I'm