Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

[DEPRECATED] A component in our thesis for the mobile application to scrape, fetch, and recommend news articles

License

Notifications You must be signed in to change notification settings

ubergonmx/newsmead-api-deprecated

Repository files navigation

DEPRECATED

This project is no longer maintained; please consider using https://github.com/ubergonmx/newsmead-api instead.


NewsMead API

A news recommender API built with Flask/Python for the NewsMead mobile app.

Tech Stack

  • Python
  • Flask
  • Azure Services: Web App

API Endpoints

API URL: https://newsmead.azurewebsites.net/

List of GET endpoints:

  • /feed - returns articles scraped from Google News
  • /top - returns top headline articles from News API
  • /search?q=[query] - returns articles searched with the query and scraped from Google News
  • /parse?url=[url] - returns scraped content of the article from the given url

How to run

Note: Must have Python version 3.9 for recommenders package.

  1. Install requirements
pip install -r requirements.txt
  1. Go to /flask directory
cd flask
  1. Run Flask
flask run
# or
python -m flask run

About

[DEPRECATED] A component in our thesis for the mobile application to scrape, fetch, and recommend news articles

Topics

Resources

License

Stars

Watchers

Forks

Languages