A powerful library for swift programmer to get word from dicts.
- from language: en
- to language: cn
- pronunciation: US
- method: web
- Extra attributes: None
let data = await DictApi.shared.getData(with: .collins, for: "Swift", from: .en, to: .cn)
print(data.word)
Flow: Identifiable, WriteAndReadAble, Mappable
- sound: Extra attributes
- pt: Extra attributes
- word: the word you search, actually is lowercase
- paraphrase: Paraphrase array
Flow: Identifiable, WriteAndReadAble, Mappable
- ps: Part of speech
- explain: Paraphrase (array)
- exampleSentence: Sentence (Corresponds to explain)