From 316447f98e1c60ff77997157116cd6ae7fda458c Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 18 Apr 2023 21:49:34 +0200 Subject: [PATCH] Implemented the GetGameSeriesEndpoint endpoint. --- Sources/Endpoints/GetGameSeriesEndpoint.swift | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Sources/Endpoints/GetGameSeriesEndpoint.swift diff --git a/Sources/Endpoints/GetGameSeriesEndpoint.swift b/Sources/Endpoints/GetGameSeriesEndpoint.swift new file mode 100644 index 0000000..033ba65 --- /dev/null +++ b/Sources/Endpoints/GetGameSeriesEndpoint.swift @@ -0,0 +1,16 @@ +import Communications +import Foundation + +struct GetGameSeriesEndpoint: Endpoint { + + // MARK: Properties + + let scheme: String = .Scheme.https + let host: String = .Host.amiiboApi + let port: Int? + let path: String = .Path.gameSeries + let method: HTTPRequestMethod = .get + let headers: [String : String] = [:] + let body: Data? + +}