Skip to content

Hespress-API using Nodejs,ExpressJS,Cheerio,Request that can give you latest news data from Hespress in arabic,french and english.

Notifications You must be signed in to change notification settings

adnanedrief/Hespress-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hespress-API

Description

Hespress-API using Nodejs,ExpressJS,Cheerio,Request that can give you latest news data from Hespress in arabic,french and english

Demo

Home Page

https://hespress-api.adnanedrief.repl.co/

English Data

https://hespress-api.adnanedrief.repl.co/english/2

French Data

https://hespress-api.adnanedrief.repl.co/french/4

Arabic Data

https://hespress-api.adnanedrief.repl.co/arabic/1

Endpoints

Every page contains 10 articles so if you need 40 articles you should pass in the Endpoint 4 (that means 4 pages needed)

Home Page

yourdomaine.com/

English Data

yourdomaine.com/english/nbrOfPageNeeded

Exemple :

If you need data of 4 pages : yourdomaine.com/english/4

French Data

yourdomaine.com/french/nbrOfPageNeeded

Exemple :

If you need data of 10 pages : yourdomaine.com/french/10

Arabic Data

yourdomaine.com/arabic/nbrOfPageNeeded

Exemple :

If you need data of 2 pages : yourdomaine.com/arabic/2

Installation

npm i express cheerio cloudscraper request pretty nodemon

Usage

nodemon index.js

Demo

Home

home

English News Data

French News Data

Arabic News Data

Licence

> Feel free to use this project, but don't claim it at yourself and mention credits.

About

Hespress-API using Nodejs,ExpressJS,Cheerio,Request that can give you latest news data from Hespress in arabic,french and english.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published