Skip to content

Make SC2, WoW, and Profile related APIs all independent packages - #8

Open
nmccrory wants to merge 20 commits into
mitchellh:masterfrom
nmccrory:master
Open

Make SC2, WoW, and Profile related APIs all independent packages#8
nmccrory wants to merge 20 commits into
mitchellh:masterfrom
nmccrory:master

Conversation

@nmccrory

@nmccrory nmccrory commented Jul 7, 2017

Copy link
Copy Markdown
Contributor

I noticed that there were a few errors in the last PR that I opened. Specifically a file structure mistake that caused a package loop and the exclusion of a NewClient() method in the project's main client.go file.

In terms of additions, the go-bnet/sc2 package can now retrieve a profile's match history with a call to sc2.client.Profile().Matches(:id, :region, :name). I also updated .travis.yml to use Go 1.8.

Thanks and apologies for mistakes in the last PR!

nmccrory added 20 commits June 12, 2017 11:09
Merging dev and master
Profile, SC2, and WoW have all been moved into their own packages.
removed unused imports inside of client.go
Cleaning up workspace to begin development from nmccrory/go-bnet fork
…lso noticed a mistake in the client.go file of the go-bnet package... There was a need for a NewClient method for use in the client_test setup().
Created a close to working service for profiles in the sc2 package. A…
…d the Matches() method to retrieve a Starcraft 2 profile's match history.
…rom github.com/mitchellh/go-bnet/.. to make merging easier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant