Gidari
![Discord](https://img.shields.io/discord/987810353767403550)
![](https://raw.githubusercontent.com/alpstable/gidari/main/etc/assets/gidari-gopher.png)
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:
- Iterate over
http.Response
data, for pre-defined http.Request
s. - Define a writer to concurrently "write" response data for pre-defined
http.Request
s.
See the Go Docs or Web-to-Storage Examples section for usage.
Authenticating HTTP Requests
Protocol | Parameters | Description |
---|
Basic | Requires a username/email and password | The server will authorize the request only if it can validate the user-ID and password for the protection space of the Request-URI |
Coinbase | Requires a key, passphrase and secrete generated in the Coinbase Exchange GUI | The 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
Contributing
Follow this guide for information on contributing.
Resources