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