3.0.1 • Published 11 months ago

esana-node-api v3.0.1

Weekly downloads
-
License
GNU
Repository
github
Last release
11 months ago

⭕️ 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

3.0.1

11 months ago

3.0.0

11 months ago

2.0.7

11 months ago

2.0.8

11 months ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago