Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Latest commit

 

History

History
36 lines (32 loc) · 1.16 KB

File metadata and controls

36 lines (32 loc) · 1.16 KB

DropBox

Prerequisites

  • Create account: https://www.dropbox.com/register

  • Create new App: https://www.dropbox.com/developers/apps

    • Choose an API: Scoped access
    • Choose the type of access you need: Full Dropbox
    • Name your app: Mapswipe COCO
  • Update Permission type

    • Go to the app settings
    • Click Scoped App
    • Select
      • files.metadata.read
      • files.content.write
      • files.content.read
      • sharing.write
      • sharing.read
    • Submit
  • Generate new access token:

    • Go to the app settings
    • Click Generated access token
  • Install uv on your system: https://docs.astral.sh/uv/getting-started/installation/

  • Download the generate_coco_from_dropbox.py script

  • Run the script

    # Help
    uv run generate_coco_dropbox.py --help
    
    # Sample
    uv run generate_coco_dropbox.py "DROPBOX_ACCESS_TOKEN" "FOLDER_PATH_IN_DROPBOX" "DESTINATION_EXPORT_FILE_NAME_IN_DROPBOX"
    
    # Example
    uv run generate_coco_dropbox.py sl.yourAccessTokenHere “/COCO TEST” “coco_export.json”
  • Download the coco_export.json from the dropbox