Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrd0ll4r/nhexport
A nicehash-to-CSV exporter
https://github.com/mrd0ll4r/nhexport
Last synced: 21 days ago
JSON representation
A nicehash-to-CSV exporter
- Host: GitHub
- URL: https://github.com/mrd0ll4r/nhexport
- Owner: mrd0ll4r
- License: mit
- Created: 2018-01-15T17:06:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-23T13:02:21.000Z (about 6 years ago)
- Last Synced: 2024-10-16T06:35:12.726Z (2 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nhexport
[![Build Status](https://api.travis-ci.org/mrd0ll4r/nhexport.svg?branch=master)](https://travis-ci.org/mrd0ll4r/nhexport)
[![Go Report Card](https://goreportcard.com/badge/github.com/mrd0ll4r/nhexport)](https://goreportcard.com/report/github.com/mrd0ll4r/nhexport)
[![GoDoc](https://godoc.org/github.com/mrd0ll4r/nhexport?status.svg)](https://godoc.org/github.com/mrd0ll4r/nhexport)
![Lines of Code](https://tokei.rs/b1/github/mrd0ll4r/nhexport)A quick-and-dirty nicehash-to-CSV exporter.
It exports either the payment history (set `-payment`), or the history of hashrates and unpaid balances per algorithm (default).
This will print out CSV (including headers) to a file named `FROM-TO-ADDR-MODE.csv`.
## Installation
Make sure you have a working Go installation.
Then just```bash
go get -u github.com/mrd0ll4r/nhexport/cmd/nhexport
```Will fetch, compile, and install `nhexport` and all its dependencies.
If you added `$GOPATH/bin` to your `$PATH`, the `nhexport` binary should be on your path.## Usage
```
-addr string
your bitcoin address (mandatory)
-from string
begin date (inclusive) (default YESTERDAY)
-payments
whether to export hashrates+history (default) or payments
-to string
end date (exclusive) (default TODAY)
```If ran without setting `from` and `to`, it will export the stats of yesterday.
Note that there is an API call rate limit of ~one request/30 seconds.
## Exit status
Exit status will be zero in case of success, one in case of runtime errors and two in case of malformed arguments.