You can use this to retrieve the current price for an crypto currency. I used this in another project and thought it will make sense to publish this as an own package.
How to use it #
import "https://github.com/mnlwldr/coinbase"
Usage #
response, err := Get("SHIB-EUR")
fmt.Printf("%.7f\n", response.Amount)
Output #
0.0000253
Top comments (0)