search-script v0.0.1
MADE İN TURKEY HELPER MODULE
for download
npm install --save erehizm
EXAMPLE
eco.products()
eco.send("123",10)
eco.back("123",10)
n3.info("https://www.youtube.com/watch?v=1UwTI4PkI4g","REACTS")
SEARCH FUNCTİONS
SearchVideo = await scs.SearchVideo("<yt-search>")
getVideo = await scs.VideoGet("<yt-video-url>")
SpotifySearch = await scs.GetSpotify("<spotify-music-url>")
const eco = new SearchScript.Economy({file:"./datas",shop:"ScriptShop"});
eco.products()
eco.send("123",10)
eco.back("123",10)
const scs = new SearchScript.Search({"Youtube":"YOUTUBE_APİ_KEY"});
await scs.SearchVideo("<Youtube-Search>")
await scs.VideoGet("<Youtube-Video-URL>")
await scs.GetSpotify("<Spotify-url>")
Search Script Helper Module
====> EXAMPLE
const SearchScript = require("search-script")
const Search = new SearchScript.Search({"Youtube":"You_Key"});
const eco = new SearchScript.Economy({file:"./datas",shop:"ScriptShop"});
const elements = {
search:"riv riv riv",
spotify:"https://open.spotify.com/track/5nTtCOCds6I0PHMNtqelas",
url:"https://www.youtube.com/watch?v=GIkKGW628aQ",
id:"GIkKGW628aQ"
}
async function Search() {
let SearchVideo = await SearchScript.SearchVideo(elements.search)
console.log(SearchVideo)
let getVideo = await SearchScript.VideoGet(elements.url)
console.log(getVideo)
let SpotifySearch = await SearchScript.GetSpotify(elements.spotify)
console.log(SpotifySearch)
}
function Economy() {
let a = eco.products()
console.log(a)
eco.send("123",10)
eco.back("123",10)
}
Search()
Economy()
Links