New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mikemrm/go-griddy

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mikemrm/go-griddy

  • v0.0.0-20180723231708-ee3ec271811b
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-griddy

A simple Go package for pulling live pricing from GoGriddy.com

Requirements

You will need to get your Meter ID, Member ID and Settlement Point from https://app.gogriddy.com

Look for a network request ending in /getnow. The Request Payload will contain all this information.

Usage

$ go run cmd/query.go -help
Usage of query:
  -config string
    	Path to toml configuration file.
  -memberid string
    	Your Member ID
  -meterid string
    	Your meter ID
  -settlement string
    	Settlement Point (ex: LZ_HOUSTON)
  -url string
    	URL to be queried
go run cmd/query.go -config config.toml
go run cmd/query.go -memberid abc123 -meterid your-uuid -settlement LZ_YOUR_CITY

Example

$ go run cmd/query.go -config config.toml
Server Time   : 2018-07-23T23:10:00Z
Settlement    : LZ_CITY
Price Type    : lmp
Price         : 3.30 ¢
Value Score   : 10
Mean Price    : 17.98 ¢
Diff Mean     : -14.67 ¢
High          : 206.04 ¢
Low           : 1.02 ¢
Local Time    : 2018-07-23T18:10:00-07:00
---------------
Data TTL      : 28 Sec.

FAQs

Package last updated on 23 Jul 2018

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