Node's Pocket Monsters

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

    2.1.6 • 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

    Install

    npm i @onthecut/crt-notice-scraper

    DownloadsWeekly Downloads

    1

    Version

    2.1.6

    License

    MIT

    Unpacked Size

    25.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • bencevans