Gidari is a library for batch querying data and persisting the results to local storage.
go get github.com/alpstable/gidari@latestFor information on using the CLI, see here.
At the moment, Gidari only supports HTTP services. There are two ways to use an HTTP service:
- Iterate over
http.Responsedata, for pre-definedhttp.Requests. - 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.
| 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 |
| Data Type | Writer | Example | Description |
|---|---|---|---|
| CSV | csvpb | examples/csvp | Use the HTTPService to write web API data to stdout as CSV |
| MongoDB Document | mongopb | exmaples/mongopb | Use the HTTPService to write web API data to a MongoDB Collection |
Follow this guide for information on contributing.
- Public REST APIs from Postman Documenter
- Go Gopher artwork by Victoria Trum
- The original Go gopher was designed by the awesome Renee French