# 使用快捷指令向欧路词典添加生词

基于欧路词典开放 API 写了个快捷指令，用于在 iOS/macOS 上选词添加到单词本，全局可用且无需词典 APP 后台驻留

![notion image](https://cdn.hashnode.com/res/hashnode/image/upload/v1676020680584/e945ed0c-73b0-45eb-864b-4a43327cbab1.png align="left")

## **获取 API 权限并导入**

[http://my.eudic.net/OpenAPI/Authorization](http://my.eudic.net/OpenAPI/Authorization)

* 登陆欧路词典并复制授权信息
    

[https://www.icloud.com/shortcuts/922bcdc03f45478199114096f7e812b7](https://www.icloud.com/shortcuts/922bcdc03f45478199114096f7e812b7)

* 导入快捷指令
    

## **使用方式**

## **iOS：**

![notion image](https://cdn.hashnode.com/res/hashnode/image/upload/v1676020682933/455cd2e7-46d2-4db8-afda-38b3065986fb.png align="left")

## **macOS：**

![notion image](https://cdn.hashnode.com/res/hashnode/image/upload/v1676020685387/8bf135c2-3967-4103-9b60-4ec83a30f025.png align="left")

* 选中要加入的单词
    
* 以空格隔开的多个单词将分别加入单词本（而不是作为词组）
