Commit Graph

6 Commits (91b031b34c6018271cabba5f55dd855bca679798)

Author SHA1 Message Date
Icedream 883bfcf113
Update examples to use Competition instead of SoccerSeason. 2016-07-09 21:06:13 +02:00
Icedream cb21cdb829 Provide fluent-style configuration methods as alternatives to the Set methods.
- Allows for quick and easy one-liners and also allows for temporarily changing configuration for a few requests.
- Update example codes to promote usage of fluent-style configuration.
2016-06-26 13:04:04 +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 5418ecc69e Add separate examples for Client. 2016-06-26 12:03:11 +02:00
Christian 0ae7a5f5b6 Failing test due to API divergence 2016-06-25 12:29:32 +02:00
Icedream 055b2a4227 Initial commit. 2016-06-13 00:39:00 +02:00