개요
Free Dictionary API를 연동하여 영어 단어 조회 기능 구현
상세 내용
- 단어 검색 시 발음, 정의, 예문, 동의어 제공
- 기존 단어장 기능과 연동
API 정보
- API: Free Dictionary API
- URL:
https://api.dictionaryapi.dev/api/v2/entries/en/{word}
- 비용: 무료
- API Key: 불필요
응답 예시
{
"word": "hello",
"phonetic": "/həˈloʊ/",
"meanings": [
{
"partOfSpeech": "noun",
"definitions": [
{
"definition": "An utterance of 'hello'; a greeting.",
"example": "she was getting polite
hellos from people"
}
],
"synonyms": ["greeting", "welcome"]
}
]
}
AC (Acceptance Criteria)
활용 방안
- 뉴스 기사 내 어려운 단어 → 바로 사전 조회
- 단어장 단어 추가 시 → 자동으로 정의/예문 채우기
- 퀴즈 → 단어 뜻 맞추기 문제 생성
연결된 Epic
#384
개요
Free Dictionary API를 연동하여 영어 단어 조회 기능 구현
상세 내용
API 정보
https://api.dictionaryapi.dev/api/v2/entries/en/{word}응답 예시
{ "word": "hello", "phonetic": "/həˈloʊ/", "meanings": [ { "partOfSpeech": "noun", "definitions": [ { "definition": "An utterance of 'hello'; a greeting.", "example": "she was getting polite hellos from people" } ], "synonyms": ["greeting", "welcome"] } ] }AC (Acceptance Criteria)
활용 방안
연결된 Epic
#384