Socket
Socket
Sign inDemoInstall

ssweb-api

Package Overview
Dependencies
105
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ssweb-api

Package ssweb API with puppeteer and google chrome


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

ssweb-api

Package ssweb API with puppeteer and google chrome

Note

ID
Jika Ada Bug, Silahkan Buat Issues

EN
If there are bugs, please create Issues

Installation

Latest

npm i github:caliph91/ssweb-api

Npm

npm i ssweb-api

Require

const api = require("ssweb-api")

})

Docs

Ssweb Desktop

(async () => {
var result = await api.desktop({ url: 'https://google.co.id' })
console.log(result)
})

Result

Result JSON

{
  status: 200,
  creator: 'Caliph',
  result: 'https://uploader.caliph.my.id/file/1TPWtb5XqO.png'
}

Ssweb Desktop (Full Page)

(async () => {
var result = await api.desktop({ url: 'https://google.co.id/search?q=Caliph%20Rest%20Api', fullpage: true })
console.log(result)
})

Result

Result JSON

{
  status: 200,
  creator: 'Caliph',
  result: 'https://uploader.caliph.my.id/file/KgDwrs8WHh.png'
}

Ssweb Handphone

(async () => {
var result = await api.handphone({ url: 'https://google.co.id' })
console.log(result)
})

Result

Result JSON

{
  status: 200,
  creator: 'Caliph',
  result: 'https://uploader.caliph.my.id/file/scd2djBxkG.png'
}

Ssweb Handphone (Full Page)

(async () => {
var result = await api.handphone({ url: 'https://google.co.id/search?q=Caliph%20Rest%20Api', fullpage: true })
console.log(result)
})

Result

Result JSON

{
  status: 200,
  creator: 'Caliph',
  result: 'https://uploader.caliph.my.id/file/wxP42avOdq.png'
}

Keywords

FAQs

Last updated on 14 Mar 2022

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc