Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

master98ofu's avatar
master98ofu
Explorer | Level 3
10 years ago

Is there a call to see files in a Dropbox with the Core Python API?

I think the subject asks the question well, "Is there a call to see files in a Dropbox with the Core Python API?" 

I haven't looked over the actual client.py file, just wondering.

3 Replies

  • master98ofu's avatar
    master98ofu
    Explorer | Level 3
    10 years ago
    @bot.command(pass_context=True)
    async def test2(ctx):
    l = dropbox.files.files_list_folder('/Apps')
    await bot.say(l)
    The first two and the bottom lines are for another program, but apparently, running this gives me a error saying:

    Ignoring exception in command test2
    Traceback (most recent call last):
    File "C:\Users\Administrator\AppData\Local\Programs\Python\Python35-32\lib\sit
    e-packages\discord\ext\commands\core.py", line 50, in wrapped
    ret = yield from coro(*args, **kwargs)
    File "bot.py", line 51, in test2
    l = dropbox.files.files_list_folder('/Apps')
    AttributeError: module 'dropbox.files' has no attribute 'files_list_folder'

    Where is files_list_folder?

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!