summaryrefslogtreecommitdiff
path: root/src/cardmarket/client.go
diff options
context:
space:
mode:
authorDJ O'Leary <dijitol@proton.me>2026-09-03 02:43:45 +0200
committerDJ O'Leary <dijitol@proton.me>2026-09-03 02:43:45 +0200
commit4f9fc42b75fbf99aeb43fc2cd05531d2ea929b99 (patch)
treef3ff912419426b1cc0cc5958a28519fb9572502c /src/cardmarket/client.go
parente1c4e483691ed9f3cdccc637b89e4a0d546b9b97 (diff)
feat(cardmarket): implement some endpoints of the v2 api
Diffstat (limited to 'src/cardmarket/client.go')
-rw-r--r--src/cardmarket/client.go14
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}
+}