Coder Social home page Coder Social logo

rock-n-code / amiibo-service Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 1.13 MB

Ready-to-use service that retrieves data as decoded models from any of the Amiibo API available endpoints.

Home Page: https://rock-n-code.github.io/amiibo-service/documentation/amiiboservice

License: European Union Public License 1.2

Swift 93.27% HTML 2.75% JavaScript 1.66% Makefile 2.32%
amiibo-api multi-platform networking swift swift-pm xctest amiibo restful-api codable docc

amiibo-service's Introduction

Shows the hand-drawn AmiiboService package logo centered in the page.

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:

  • iOS 15.0 or higher;
  • macOS 12.0 or higher;
  • tvOS 15.0 or higher;
  • watchOS 8.0 or higher.

Package file

In the intended Package.swift file, it is required to add the following dependency:

dependencies: [
    // ...
    .package(url: "https://github.com/rock-n-code/amiibo-service.git", from: "1.0.3")
    // ...
],

Then it is required to add the package to your target, like this:

targets: [
    .target(
        // ...
        dependencies: [
            .product(name: "AmiiboService", package: "amiibo-service")
        ],
        // ...
    ),
]

Xcode

In an opened Xcode project, it is required to follow these steps to install the package:

  1. click on the Xcode project file in the sidebar to display Project and Targets;
  2. select the project under the Project section to show the Info, Build Settings and Package Dependencies options in the center menu just right on top;
  3. select the Package Dependencies option to show the defined dependencies of the project;
  4. press on the + (plus) button to add dependencies to the project;
  5. enter the URL https://github.com/rock-n-code/amiibo-service into the Search or Enter Package URL located in the upper right corner;
  6. select the retrieved option;
  7. define the dependency rule (the Up to Next Major Version option and the 1.0.3 text are recommended);
  8. select the target to which the dependency will be applied (if required);
  9. wait for the package to be resolved and included in the project;
  10. now you should be ready to start using this package!

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.

amiibo-service's People

Contributors

mr-rock avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.