Skip to content

Commit 2dd3013

Browse files
authored
docs(coco): update readme.md
1 parent 62d87b8 commit 2dd3013

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

0 commit comments

Comments
 (0)