ksoft.js
Official API Wrapper for KSoft API, written in Node.js
Getting Started
installing...
npm install ksoft.js --save
All functions
Images Api
ksoft.images.getRandomMeme()
ksoft.images.getRandomImage(tag)
ksoft.images.getTags()
ksoft.images.searchTags(tag)
ksoft.images.getImageFromId(snowflake)
ksoft.images.getRandomWikiHow(nsfw)
ksoft.images.getRandomCutePicture()
ksoft.images.getRandomNSFW()
ksoft.images.getRandomReddit({subReddit,removeNSFW,span})
Bans Api
ksoft.bans.add(banData)
ksoft.bans.getBanInfo(userID)
ksoft.bans.check(userID)
ksoft.bans.list(page,perPage)
ksoft.bans.getUpdate(epochDate)
Kumo Api
ksoft.kumo.search(q, {
fast: Boolean,
more: Boolean,
mapZoom: Number,
includeMap: Boolean
})
ksoft.kumo.getSimpleWeather(reportType,q,units,lang,icons)
ksoft.kumo.geoip(ip)
ksoft.kumo.convertCurrency(from,to,value)
Lyrics Api
ksoft.lyrics.search(q, {
textOnly: Boolean,
limit: Number
})
ksoft.lyrics.getArtistById(id)
ksoft.lyrics.getAlbumById(id)
ksoft.lyrics.getTrackById(id)
Special thanks to sdf for helping me troubleshoot some stuff :)