Commit Graph

9 Commits (4c04df4b3971fff8bdd56cc22c67c638dae4953a)

Author SHA1 Message Date
Icedream 6eb67ba541
Clarification of documentation for "Competitions" and "SoccerSeasons" methods.
This commit makes clear that the list methods for the Competition/SoccerSeason resource only return data for the current season or for any targeted season. Fetching the complete list is not possible.
2016-07-09 21:35:29 +02:00
Icedream d0afff06fc
Deprecate Soccerseason methods and structs in favor of the Competition model.
Deprecated structs and methods will be removed before tagging v1 of the implementation.
2016-07-09 20:59:24 +02:00
Icedream e6526da3e0 Remove intermediate interface and provide Set methods for HttpClient and Token.
- Make the "Client" struct construction-friendly so it can be easily initialized with "new(footballdata.Client)".
- Rewrite example_test.go to show the respective new usage. Make it clear here that the SetToken call is optional.

This would fix #2.
2016-06-26 12:57:14 +02:00
Icedream 1d952c49e9 Revert "Move commentary for client methods to the actual interface."
This reverts commit 8f5d035e92.
2016-06-26 12:24:59 +02:00
Icedream 8f5d035e92 Move commentary for client methods to the actual interface. 2016-06-25 23:35:38 +02:00
Icedream c65cf6f06c Complements to pull request for improving comments.
- Fix casing of method commentary.
- Fix grammar and punctuation for client.SetToken.
2016-06-25 23:29:23 +02:00
Christian cb16d45ecb Better abstraction & https://golang.org/doc/effective_go.html#commentary 2016-06-25 12:15:58 +02:00
Icedream df54a3b11f Fix number formatting in requests. 2016-06-13 19:47:09 +02:00
Icedream 055b2a4227 Initial commit. 2016-06-13 00:39:00 +02:00