ebanDev / europresse-lib

πŸ“° A typescript library for Europresse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“° @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

  • Authentication
  • Search
  • Article retrieval in HTML

Supported authentication providers

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');

About

πŸ“° A typescript library for Europresse

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 100.0%