mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 14:43:05 -04:00
weather v2
This commit is contained in:
parent
a06f24d643
commit
911d28c46b
4 changed files with 65 additions and 60 deletions
|
@ -176,6 +176,12 @@ module.exports.weather = async function(context, location){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.darksky = async function(context, location){
|
||||
return await request(Api.UTILS_WEATHER, "GET", {}, {
|
||||
location: location
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.wikihow = async function(context, query){
|
||||
return await request(Api.SEARCH_WIKIHOW, "GET", {}, {
|
||||
q: query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue