File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
manager-dashboard/user_scripts Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ## DropBox
2+ ### Prerequisites
3+
4+ - Create account: https://www.dropbox.com/register
5+ - Create new App: https://www.dropbox.com/developers/apps
6+ - Choose an API: Scoped access
7+ - Choose the type of access you need: Full Dropbox
8+ - Name your app: Mapswipe COCO
9+ - Update ` Permission type `
10+ - Go to the app settings
11+ - Click ** Scoped App**
12+ - Select
13+ - files.metadata.read
14+ - files.content.write
15+ - files.content.read
16+ - sharing.write
17+ - sharing.read
18+ - Submit
19+ - Generate new access token:
20+ - Go to the app settings
21+ - Click ** Generated access token**
22+ - Install uv on your system: https://docs.astral.sh/uv/getting-started/installation/
23+ - Download the [ generate_coco_from_dropbox.py] ( user_scripts/generate_coco_from_dropbox.py ) script
24+
25+ - Run the script
26+ ``` bash
27+ # Help
28+ uv run generate_coco_dropbox.py --help
29+
30+ # Sample
31+ uv run generate_coco_dropbox.py " DROPBOX_ACCESS_TOKEN" " FOLDER_PATH_IN_DROPBOX" " DESTINATION_EXPORT_FILE_NAME_IN_DROPBOX"
32+
33+ # Example
34+ uv run generate_coco_dropbox.py sl.yourAccessTokenHere “/COCO TEST” “coco_export.json”
35+ ```
36+ - Download the coco_export.json from the dropbox
You can’t perform that action at this time.
0 commit comments