We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1cfea commit ccaee38Copy full SHA for ccaee38
src/data.jl
@@ -23,9 +23,9 @@ function error_msg_handling(e)
23
return nothing
24
end
25
26
-function get(url; extra_error_message = "")
+function get(query; extra_error_message = "")
27
try
28
- r = HTTP.request("GET", string(API_URL, url))
+ r = HTTP.request("GET", string(API_URL, query))
29
return JSON.parse(String(r.body))
30
catch e
31
error_msg_handling(e)
0 commit comments