Package ssweb API with puppeteer and google chrome
ID Jika Ada Bug, Silahkan Buat Issues
EN If there are bugs, please create Issues
npm i github:caliph91/ssweb-api
npm i ssweb-api
const api = require("ssweb-api")
(async () => {
var result = await api.desktop({ url: 'https://google.co.id' })
console.log(result)
})()
{
status: 200,
creator: 'Caliph',
result: 'https://uploader.caliph.my.id/file/1TPWtb5XqO.png'
}
(async () => {
var result = await api.desktop({ url: 'https://google.co.id/search?q=Caliph%20Rest%20Api', fullpage: true })
console.log(result)
})()
{
status: 200,
creator: 'Caliph',
result: 'https://uploader.caliph.my.id/file/KgDwrs8WHh.png'
}
(async () => {
var result = await api.handphone({ url: 'https://google.co.id' })
console.log(result)
})()
{
status: 200,
creator: 'Caliph',
result: 'https://uploader.caliph.my.id/file/scd2djBxkG.png'
}
(async () => {
var result = await api.handphone({ url: 'https://google.co.id/search?q=Caliph%20Rest%20Api', fullpage: true })
console.log(result)
})()
{
status: 200,
creator: 'Caliph',
result: 'https://uploader.caliph.my.id/file/wxP42avOdq.png'
}