Socket
Socket
Sign inDemoInstall

ksoft.js

Package Overview
Dependencies
11
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ksoft.js

Official API Wrapper for KSoft.Si API, written in Node.js


Version published
Maintainers
1
Created

Readme

Source

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 :)

Keywords

FAQs

Last updated on 14 Nov 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc