diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1662d58..6453ae0 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -2,9 +2,9 @@ name: Build on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: diff --git a/README.md b/README.md index 1280b71..e68d1f7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Go Tastytrade Open API Wrapper -Go API wrapper for the Tastytrade Open API - ![Build](https://github.com/optionsvamp/tastytrade/actions/workflows/build.yaml/badge.svg) +Go API wrapper for the Tastytrade Open API + ## Table of Contents 1. [Introduction](#introduction) 2. [Installation](#installation) @@ -35,7 +35,7 @@ import "github.com/optionsvamp/tastytrade" Here's a basic example of how to use this wrapper to get account balances: ``` -api := NewTastytradeAPI("your-api-key") +api := tastytrade.NewTastytradeAPI("your-api-key") balances, err := api.GetAccountBalances("your-account-number") if err != nil { log.Fatal(err)