imankulov / linguee-api

Proxy to convert HTML responses from linguee.com to JSON format
https://linguee-api.fly.dev/docs
MIT License
193 stars 39 forks source link

Hope to add 'often used' property #22

Closed tisfeng closed 2 years ago

tisfeng commented 2 years ago

Hi, thank you for the linguee api, I like it very much, but I find it is missing 'often used' property, could you please add them? Thank you very much!

good

image image image
imankulov commented 2 years ago

Hey, @tisfeng! Thanks for the suggestion. I'll address it later this week. Likely, over the weekend.

imankulov commented 2 years ago

Hey @tisfeng. I added a new attribute, usage_frequency. The attribute can take values often, almost_always or None.

Request sample: https://linguee-api-v2.herokuapp.com/api/v2/translations?query=good&src=en&dst=zh&guess_direction=false

Screenshot

Version 2.4.0 is available on PyPI

tisfeng commented 2 years ago

@imankulov Okay, thanks so much!