Being a non-native English speaker, I often face new, colorful, sometimes very unexpected slang expressions that, to say the least, let me raise an eyebrow. This application just searches Urban Dictionary for me to enrich my culture.
Warning: the output of this application may be not safe for work, and this is out of control of this application.
Given a text file named terms.txt
containing newline-separated unknown slang expressions (which is your responsibility to obtain), this application chooses one randomly and queries the Urban Dictionary HTTP API and displays the list of definitions found, in a Markdown compatible format.
- Sign up to Rapid API to get API KEY and insert it into the
X-RapidAPI-Key
in the code - Replace or enrich the
terms.txt
file as you wish - Ensure that you have the .NET 6 runtime installed and start
dotnet run
from the command line in the source directory
Permissive, 2-clause BSD style