Socket
Socket
Sign inDemoInstall

esana-node-api

Package Overview
Dependencies
92
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    esana-node-api

Esana News || Helakuru.lk - එසැණ News


Version published
Weekly downloads
29
increased by314.29%
Maintainers
1
Install size
15.3 MB
Created
Weekly downloads
 

Readme

Source

Helakuru.lk | | එසැණ

⭕️ API (Unofficial) ⭕️

SISULA WELGAMAGE


⭕️ This project is for educational purposes only!⭕️
⭕️ The user shall take full responsibility for the errors such as changing the information and changing the name of the company. ⭕️

Base Site -: https://helakuru.lk/esana

NPM Link -: https://www.npmjs.com/package/esana-node-api

Installation

$ npm install esana-node-api

$ yarn add esana-node-api

Usage - නවතම එසැණ News ලබාගැනීමට

const {Esana} = require("esana-node-api")

async function esana_run(){

await Esana.verify('Enter Your Passcode') 
const esana_data = await Esana.fetch_news_data()
console.log(esana_data)

}
esana_run()

Output:

{
  status: 200,
  latest: true,
  esana: {
    news_id: 98376,
    title: 'දූෂණ විරෝධී පනත් කෙටුම්පත ජුනි 21දා විවාදයට ගැනීමට තීරණය කෙරේ',
    description: 'දූෂණ විරෝධී පනත් කෙටුම්පත ජුනි 21දා විවාදයට ගැනීමට තීරණය කර තිබෙනවා.',
    thumbnail: 'https://helakuru.sgp1.cdn.digitaloceanspaces.com/esana/images/lib/parliment-new-01[1].jpg',
    url: 'https://www.helakuru.lk/esana/98376',
    date: '2023-06-08 16:03:06',
    media: []
  }
}

License

MIT

Disclaimer

esana - එසැණ name, we have nothing to do with the website officially. If any complains please contact via srwusc123@gmail.com

FAQs

Last updated on 14 Jun 2023

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