We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab4bad8 commit 6fc5725Copy full SHA for 6fc5725
main.py
@@ -18,7 +18,7 @@ def query(self, query: str):
18
Docs on the endpoint
19
https://developer.wordnik.com/docs#!/word/getDefinitions
20
"""
21
-
+
22
url = f"https://api.wordnik.com/v4/word.json/{quote_plus(query)}/definitions"
23
params = {
24
"limit": 20,
@@ -37,12 +37,12 @@ def query(self, query: str):
37
final.append(
38
{
39
"Title": definition["text"],
40
- "SubTitle": definition['attributionText'],
+ "SubTitle": definition["attributionText"],
41
"IcoPath": "Images/app.png",
42
"JsonRPCAction": {
43
"method": "open_url",
44
- "parameters": [definition['wordnikUrl']]
45
- }
+ "parameters": [definition["wordnikUrl"]],
+ },
46
}
47
)
48
0 commit comments