europresse-lib

1.1.1 • Public • Published

📰 @europresse-lib

A TypeScript library for the Europresse API.

This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with the Europresse, or any of its subsidiaries or its affiliates. The name Europresse as well as related names, marks, emblems and images are registered trademarks of their respective owners.

Features

  • [x] Authentication
  • [x] Search
  • [x] Article retrieval in HTML

Supported authentication providers

  • [x] @ent-cookies
    • Additional parameters: ent
  • [ ] direct login
  • [ ] bnf

Installation

npm install europresse-lib

# or 

yarn add europresse-lib

Usage

import { auth, search, article } from 'europresse-lib';

const cookies = await auth('username', 'password', 'provider');
const results = await search(cookies, 'query');
const article = await article(cookies, 'id', 'html');

Readme

Keywords

none

Package Sidebar

Install

npm i europresse-lib

Weekly Downloads

42

Version

1.1.1

License

AGPL-3.0

Unpacked Size

1.17 MB

Total Files

74

Last publish

Collaborators

  • ebandev