All Projects → dropbox → dropbox-api-v2-repl

dropbox / dropbox-api-v2-repl

Licence: other
Utilities to test the Dropbox API v2.

Programming Languages

python
139335 projects - #7 most used programming language

Dropbox API v2 REPL

A Python REPL that lets you make calls to the Dropbox API v2.

  1. Get a Dropbox API access token. You can use the Dropbox website to get an access token for your own account.

  2. Put the access token in a file called auth.json:

    {
        "access_token": "<insert-access-token-here>"
    }
  3. Run the command: python repl.py auth.json.

    For help, type 'hint'
    
    In [1]: hint
    Out[1]:
    
    Use 'a' to make requests to the "api" server.
    Use 'c' to make requests to the "content" server.
    
    Examples:
        a.rpc('files/get_metadata', path='/Camera Uploads')
        c.up('files/upload', path='/faq.txt', mode='add', _b=b'What?')
        c.down('files/download', path='/faq.txt', _h={'If-None-Match': 'W/"1234"'})
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].