ANApiV1 is a api that lets you fetch news to your project. A diverse range of news sites is available. This api helps to scrapp the news. Currently it works on 3 Ethiopian news sites.
You can install the Api using
https://github.com/josephT273/Amharic_news_api_v1.git
Then configure your database in ths case we will use mysql/mariadb
CREATE DATABASE amharic_news_api_v1;
Then create table for storing the news
CREATE TABLE amharic_news_api_v1.newsapi (
id int(11) PRIMARY KEY NOT NULL AUTO_INCREMENT,
default_url text NOT NULL,
news_title text NOT NULL,
news_title_href text NOT NULL,
news_title_image text NOT NULL,
news_posted_logo text NOT NULL,
news_posted_date text NOT NULL
);
This is the sample project i will update this code and i will publish as dynamic news scrapper php program
If you want to contact with me use my linktree address