diff options
| author | DJ O'Leary <dijitol@proton.me> | 2026-09-03 02:43:45 +0200 |
|---|---|---|
| committer | DJ O'Leary <dijitol@proton.me> | 2026-09-03 02:43:45 +0200 |
| commit | 4f9fc42b75fbf99aeb43fc2cd05531d2ea929b99 (patch) | |
| tree | f3ff912419426b1cc0cc5958a28519fb9572502c /src/cardmarket/client.go | |
| parent | e1c4e483691ed9f3cdccc637b89e4a0d546b9b97 (diff) | |
feat(cardmarket): implement some endpoints of the v2 api
Diffstat (limited to 'src/cardmarket/client.go')
| -rw-r--r-- | src/cardmarket/client.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cardmarket/client.go b/src/cardmarket/client.go new file mode 100644 index 0000000..4de93ba --- /dev/null +++ b/src/cardmarket/client.go @@ -0,0 +1,14 @@ +package cardmarket + +import ( + "codeberg.org/dijitol/collector_ouphe/src/oauth" +) + +type ApiClient struct { + baseURL string + httpClient *oauth.Client +} + +func NewApiClient(baseURL string, client *oauth.Client) *ApiClient { + return &ApiClient{baseURL: baseURL, httpClient: client} +} |
