mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
add maps
This commit is contained in:
parent
79b096efb4
commit
fcb25fc639
7 changed files with 563 additions and 6 deletions
|
@ -104,12 +104,6 @@ module.exports.googleVisionWebDetection = async function(context, url){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.lyrics = async function(context, query){
|
||||
return await request(Api.SEARCH_LYRICS, "GET", {}, {
|
||||
q: query
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.google = async function(context, query, nsfw){
|
||||
return await request(Api.SEARCH_GOOGLE, "GET", {}, {
|
||||
q: query,
|
||||
|
@ -124,6 +118,24 @@ module.exports.googleImages = async function(context, query, nsfw){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.lyrics = async function(context, query){
|
||||
return await request(Api.SEARCH_LYRICS, "GET", {}, {
|
||||
q: query
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.maps = async function(context, query){
|
||||
return await request(Api.SEARCH_MAPS, "GET", {}, {
|
||||
q: query
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.mapsSupplemental = async function(context, supplementalKey){
|
||||
return await request(Api.SEARCH_MAPS_SUPPLEMENTAL, "GET", {}, {
|
||||
supplemental_key: supplementalKey
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.quora = async function(context, query){
|
||||
return await request(Api.SEARCH_QUORA, "GET", {}, {
|
||||
q: query
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue