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

github.com/alpstable/gidari

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/alpstable/gidari

  • v0.3.0
  • Source
  • Go
  • Socket score

Version published
Created
Source

Gidari

PkgGoDev Build Status Go Report Card Discord

Gidari is a library for batch querying data and persisting the results to local storage.

Installation

go get github.com/alpstable/gidari@latest

For information on using the CLI, see here.

Usage

At the moment, Gidari only supports HTTP services. There are two ways to use an HTTP service:

  1. Iterate over http.Response data, for pre-defined http.Requests.
  2. Define a writer to concurrently "write" response data for pre-defined http.Requests.

See the Go Docs or Web-to-Storage Examples section for usage.

Authenticating HTTP Requests

ProtocolParametersDescription
BasicRequires a username/email and passwordThe server will authorize the request only if it can validate the user-ID and password for the protection space of the Request-URI
CoinbaseRequires a key, passphrase and secrete generated in the Coinbase Exchange GUIThe Coinbase API requires a CB-ACCESS-SIGN header that is generated by creating a sha256 HMAC using the base64-decoded secret key on the prehash string from a timestamp + method + requestPath + body combination

Web-to-Storage Examples

Data TypeWriterExampleDescription
CSVcsvpbexamples/csvpUse the HTTPService to write web API data to stdout as CSV
MongoDB Documentmongopbexmaples/mongopbUse the HTTPService to write web API data to a MongoDB Collection

Contributing

Follow this guide for information on contributing.

Resources

FAQs

Package last updated on 22 Mar 2023

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