Giter VIP home page Giter VIP logo

coinbase-go's People

Contributors

deniseterry1 avatar moogle19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coinbase-go's Issues

Scopes don't match current API version?

I created Coinbase API key and secret and then followed the steps in the README but I'm getting this error when I try to receive my account balance:

2018/01/18 09:43:37 Response body:
{"success":false,"error":"Scopes don't match current API version."}
2018/01/18 09:43:37 GET https://api.coinbase.com/v1/account/balance failed. Response code was 401 Unauthorized

This is the main.go file:

package main

import (
"fmt"
"github.com/fabioberger/coinbase-go"
"log"
"os"
)

func main() {

c := coinbase.ApiKeyClient(os.Getenv("COINBASE_KEY"), os.Getenv("COINBASE_SECRET"))

balance, err := c.GetBalance()
if err != nil {
	log.Fatal(err)
}
fmt.Printf("Balance is %f BTC", balance)

}

Am I doing something wrong or does the current Coinbase API not work any longer with your library?

missing license file

Hi,

Could you please add a license file for your useful library? Thank you, and sorry if I missed the information somewhere.

v2

any plans to implement api v2?

Can't get native_balance from transactions?

Hi first off, thanks for this awesome library!

I was looking at the docs and code to get the native balance for my bot, but it appears this function just yeet the nativa_balance from ever returning from the function? -- I assume that's intentional, but I feel like that's a critical variable not being utilized here that I'm sure many people would use.

I saw the GetBalance function, but that only returns the BTC balance, not the native balance, maybe a new function perhaps GetNativeBalance? I'll be happy to make a PR for this if this makes sense so it doesn't break anyone elses code.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.