This PR contains the work done in implementing the endpoints needed for the remote calls: `GetAmiiboEndpoint`, `GetTypeEndpoint`, `GetGameSeriesEndpoint`, `GetSeriesEndpoint`, `GetSeriesEndpoint` and `GetLastUpdatedEndpoint` endpoints definitions. Furthermore, I added the the **SwiftLibs** package as a dependency and also, I defined constants for `String+Scheme`, `String+Host` and the `String+Path` extensions. Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Reviewed-on: #2
11 lines
322 B
Swift
11 lines
322 B
Swift
extension String {
|
|
enum Path {
|
|
static let amiibo = "/api/amiibo/"
|
|
static let type = "/api/type"
|
|
static let gameSeries = "/api/gameseries"
|
|
static let series = "/api/amiiboseries"
|
|
static let character = "/api/character"
|
|
static let lastUpdated = "/api/lastupdated"
|
|
}
|
|
}
|