[Enhancement] Linux platform support (#17)
This PR contains the work done to provide full support of this package to Linux platform, by removing the restriction on the
AmiiboClient
client and theAmiiboService
service put in place on thev1.0.1
release.To provide further details about the work done:
- updated the
SwiftLibs
package dependency tov0.1.7
;- made the
AmiiboClient
client and theAmiiboService
service available to Linux platforms by importing theFoundationNetworking
framework when available;- updated the content of some DocC documentation pages;
- regenerated the Xcode and Github pages documentation;
- updated some text in the
README
file.Co-authored-by: Javier Cicchelli javier@rock-n-code.com Reviewed-on: https://repo.rock-n-code.com/rock-n-code/amiibo-service/pulls/17
AmiiboService: Amiibo API service written in Swift
Ready-to-use service that retrieves data as decoded models from any of the Amiibo API available endpoints.
Installation
It is possible to add this package to other libraries and applications by adding it as a dependency in a
Package.swift
file or in a Xcode project, through the Package dependencies interface.This package has minimum platform requirements that are important to take into account:
Package file
In the intended
Package.swift
file, it is required to add the following dependency:Then it is required to add the package to your target, like this:
Xcode
In an opened Xcode project, it is required to follow these steps to install the package:
https://github.com/rock-n-code/amiibo-service
into the Search or Enter Package URL located in the upper right corner;Other considerations
This library is fully supported not only on Apple platforms such as iOS, macOS, tvOS, and watchOS, but also Linux.
⚠️ Please notice that this library only supports the Swift Package Manager, and that support for other dependency managers such as Cocoapods and Carthage has not been prioritised.
Further documentation
For further information about how to use this service or reference documentation about any of its components, please refer to the AmiiboService documentation available online.
For further information about the API, please refer to the Amiibo API documentation available online.