Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gannet

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gannet

  • 0.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gannet

A RubyGem wrapp for AirNow's API

Installation

gem install gannet

or in your Gemfile...

gem 'gannet'

Configuration

You will need to set your AirNow api_key before making requests. You can get one here.

Gannet.configure do |c|
  c.api_key = 'YOUR_API_KEY'
end

Usage / Examples (TODO)

Once configured, you have access to the below methods. They correspond to the available endpoints, listed on AirNow's API.

query = { zipCode: 94118 }
Gannet::WebServices.forecast_zip_code(query)

# ... In Progress

Full documentation on what can be in query can be found in AirNow's API documentation here

FAQs

Package last updated on 11 Oct 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc