8000 GitHub - yencarnacion/bing-news-ticker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yencarnacion/bing-news-ticker

Repository files navigation

bing-news-ticker

Welcome to bing-news-ticker! This project provides a scrolling ticker that displays the latest news fetched from the Bing Search API.

Features

  • Display a scrolling ticker with latest news on an HTML page.
  • Easy refresh mechanism to update headlines.
  • Schedule automated news updates with different types of news.

Prerequisites

Before you begin, ensure you have met the following requirements:

Setup & Configuration

  1. Clone the Repository

    git clone https://github.com/yencarnacion/bing-news-ticker.git
    cd bing-news-ticker
  2. API Key Configuration

    Open the secret.py file in a text editor and replace the placeholder with your Bing Search API key:

    API_KEY = 'YOUR_API_KEY_HERE'
  3. Start the Server

    Serve the HTML page on port 8000 using:

    python3 server.py

    Now, navigate to http://localhost:8000 in your browser to see the news ticker in action!

Update News

  • Refresh Current News:

    To manually refresh the headlines.json with the latest news:

    python3 top-news.py
  • Automated News Loop:

    To refresh headlines.json with different types of news at scheduled intervals:

    python3 loop.py

Need More Information?

For more information on how to use the Bing News API, check out the YouTube video: Partly Cloudy: Hello News (Intro, project structure, and HTTP requests)

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0