![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
openweathermap-fetcher
Advanced tools
A fetcher for openweathermap api.Currently in initial stage.
To use this package API key of openweathermap is needed. To get this you need to
currently tested on free account openweather API.
you can install this package using below npm command
npm install openweathermap-fetcher
or
yarn add openweathermap-fetcher
import { OpenWeatherMap } from 'openweathermap-fetcher';
const apiKey='your_api_key';
const openweathermap = new OpenWeatherMap({apiKey});
async function run() {
try {
const data = await openweathermap.fetchWeatherDataByCityName("Delhi");
console.log("API Result:", data);
} catch (error) {
console.error("API Error:", error.message);
}
}
run();
fetchWeatherDataByCityName(cityName:string)
The method will fetch the weather data by taking cityname as an argument and returns weather data.
fetchWeatherDataByCoordinates(latitude:string,longitude:string)
This method will fetch the weather data by taking longitude and latitude as an argument and returns weather data.
fetchForecastDataByCityName(cityName:string)
The method will fetch the forecast data by taking cityname as an argument and returns weather data.
fetchForecastDataByCoordinates(latitude:string,longitude:string)
This method will fetch the forecast data by taking longitude and latitude as an argument and returns weather data.
We welcome contributions! If you'd like to contribute to openweathermap-wrapper, please follow our Contribution Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
[1.1.0] - 2024-11-18
FAQs
A Wrapper for openweathermap API for node application.
The npm package openweathermap-fetcher receives a total of 2 weekly downloads. As such, openweathermap-fetcher popularity was classified as not popular.
We found that openweathermap-fetcher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.