await createPaste(`some content`)
await getInfo("code"}
const { createPaste, getInfo } = require("opex-pastebin")
//link to paste: https://nekobin.com/KEY
(async function (){
console.log(await createPaste(`
Our channel: t.me/OpexDev
`))
})()
const { createPaste, getInfo } = require("opex-pastebin")
(async function (){
console.log(await getInfo("homuhisobu"))
})()
limits: documents:
getInfo:
- amount: 20
period: 5 seconds
- amount: 10000
period: 1 day
createPaste:
- amount: 10
period: 1 minute
- amount: 20
period: 1 hour
- amount: 50
period: 1 day