Skip to content

NeoPulse is a multifunctional API that provides weather updates, the latest news, reminders, and coding assistance. This all-in-one API helps users stay informed, organized, and productive.

License

Notifications You must be signed in to change notification settings

ranidam/NeoPulse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoPulse is a multifunctional API that provides weather updates, the latest news, reminders, and coding assistance. This all-in-one API helps users stay informed, organized, and productive.

Features

  • Weather: Get real-time weather updates for any location.
  • News: Fetch the latest news headlines from various sources.
  • Reminder: Set and manage reminders with scheduled notifications.
  • Coding Help: Get coding-related assistance and solutions.

Installation

Clone this repository and install the dependencies:

git clone https://github.com/ranidam/NeoPulse.git
cd NeoPulse
npm install

Environment Variables

Create a .env file in the root directory and add the following variables:

CURRENTS_API_KEY=your_news_api_key_here
WEATHER_API_KEY=your_weather_api_key_here

Get Weather_API_KEY : https://www.weatherapi.com Get Current_API_KEY: https://currentsapi.services/en

Usage

Run the API using:

node src/index.js

API Endpoints

Weather

GET /weather?city={cityName}

Response:

{
  "city": "New York",
  "temperature": "15°C",
  "description": "Cloudy"
}

News

GET /news?category={categoryName}

Response:

{
  "category": "technology",
  "headlines": ["Tech breakthrough in AI", "New smartphone released"]
}

Reminder

POST /reminder

Request Body:

{
  "reminder": "Meeting at 5 PM",
  "time": "2025-03-07 17:00"
}

Response:

{
  "message": "Reminder set for 2025-03-07 17:00"
}

Coding Help

GET /codinghelp?query={question}

Response:

{
  "query": "How to reverse a string in JavaScript?",
  "answer": "You can use str.split('').reverse().join('');"
}

Testing

Run tests using:

npm test

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Developed by Rani Dam.

About

NeoPulse is a multifunctional API that provides weather updates, the latest news, reminders, and coding assistance. This all-in-one API helps users stay informed, organized, and productive.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published