Socket
Book a DemoInstallSign in
Socket

n8n-nodes-pirate-weather

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-pirate-weather

n8n node for Pirate Weather API - A free weather API alternative

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

n8n-nodes-pirate-weather

This is an n8n community node that provides access to the Pirate Weather API, a free and open-source weather API that serves as an alternative to the Dark Sky API.

Features

  • Weather Forecast: Get current conditions and forecasts up to 7 days
  • Time Machine: Access historical weather data
  • Multiple Units: Support for US, UK, CA, and SI units
  • 50+ Languages: Weather summaries in multiple languages
  • Flexible Data: Choose which data blocks to include or exclude
  • Extended Forecasts: Get hourly forecasts up to 168 hours

Installation

  • Go to Settings > Community Nodes
  • Search for n8n-nodes-pirate-weather
  • Click Install

Manual Installation

  • Navigate to your n8n installation directory
  • Run:
    npm install n8n-nodes-pirate-weather
    
  • Restart n8n

Authentication

This node requires a Pirate Weather API key:

  • Sign up for a free API key at pirate-weather.apiable.io
  • In n8n, create new Pirate Weather API credentials
  • Enter your API key

Usage

Weather Forecast

Get current weather conditions and forecasts:

  • Latitude & Longitude: Location coordinates
  • Units: Choose between auto, CA, UK, US, or SI
  • Exclude: Remove unwanted data blocks (currently, minutely, hourly, daily, alerts)
  • Extend: Get hourly forecasts for 168 hours instead of 48
  • Language: Get summaries in your preferred language

Time Machine

Query historical weather data:

  • Time: Specify the date/time for historical data
  • Supports UNIX timestamps and ISO 8601 formats
  • Limited to available historical data

Example Workflows

Basic Weather Forecast

1. Pirate Weather node
2. Set coordinates (e.g., 37.8267, -122.4233)
3. Execute to get current weather

Daily Weather Alert

1. Schedule Trigger (daily at 7 AM)
2. Pirate Weather node (get forecast)
3. IF node (check for rain)
4. Send notification if rain expected

Development

To test this node locally during development:

  • Clone and install dependencies

    git clone https://github.com/ChadMoran/n8n-nodes-pirate-weather.git
    cd n8n-nodes-pirate-weather
    npm install
    
  • Link the node locally

    npm run link:local
    

    Then in your n8n installation directory:

    npm link n8n-nodes-pirate-weather
    
  • Start development mode

    npm run dev
    

    This will watch for code changes and run n8n.

  • Remove the local link when done

    npm run link:remove
    

Available Scripts

  • npm run build - Build the node for production
  • npm run dev - Run TypeScript compiler and n8n in watch mode
  • npm run lint - Check code style
  • npm run lintfix - Fix code style issues
  • npm run link:local - Create local npm link for testing
  • npm run link:remove - Remove local npm link

Contributing

  • Fork the repository
  • Create a feature branch: git checkout -b feature/amazing-feature
  • Commit changes: git commit -m 'Add amazing feature'
  • Push to branch: git push origin feature/amazing-feature
  • Open a Pull Request

Resources

License

MIT

Keywords

n8n-community-node-package

FAQs

Package last updated on 26 May 2025

Did you know?

Socket

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.

Install

Related posts