@onthecut/crt-notice-scraper
TypeScript icon, indicating that this package has built-in type declarations

2.1.8 • Public • Published

onthecut / crt-notice-scraper

Canal and River Trust (CRT) Notice Scraper

Install

npm install @onthecut/crt-notice-scraper

API

import {
    getNotices,
    getNotice
} from '@onthecut/crt-notice-scraper';

// Retreive all notice summaries (CRT Notice Search Results)
const notices = await getNotices()

// Get detailed information on individual notices
const url = 'https://canalrivertrust.org.uk/notices/14494-boston-lock';
const notice = await getNotice(url);

Related

Licence

MIT

Package Sidebar

Install

npm i @onthecut/crt-notice-scraper

Weekly Downloads

33

Version

2.1.8

License

MIT

Unpacked Size

29.3 kB

Total Files

11

Last publish

Collaborators

  • bencevans