github.com/mauricioklein/coinbase-connector (go): Package coinbase is the entry point for the Coinbase Connector. Connector instantiation, authentication and interface with Coinbase API is handled by this package.  Start by importing the library  Before interacting with the system, you need to authenticate with Coinbase. This is done providing a Credentials object to the Connector constructor, containing your personal Coinbase credentials  Finally, you can instantiate a connector and start interacting with Coinbase API:  The ticker for a product can be queried using the "GetTicker" method, passing the productID as parameter:  This method returns: - A TickerResponse struct, with the response from Coinbase (in case of success) - An error (in case of failure)  To issue a new Order on Coinbase, use the method "CreateOrder", passing a OrderRequest object:  This method returns: - A OrderResponse struct, with the response from Coinbase (in case of success) - An error (in case of failure)  Time is used to fetch the current time from Coinbase API:  This method returns: - A TimeResponse struct, with the response from Coinbase (in case of success) - An error (in case of failure)
Keywords: coinbase|golang