SwiftSetlistFM

main

A Setlist.fm API Swift Package (swift-openapi-generator edition)
bdh777psu/SwiftSetlistFM

SwiftSetlistFM

Build Status

A Setlist.fm API Swift Package (swift-openapi-generator edition)

Description

This setlist.fm API Swift Package has been designed to give you easy access to setlist data in order to build fancy applications. This service provides methods to get both setlists and components of setlists such as artists, cities, countries or venues.

This is the Swift 5.8, OpenAPI 3.0.x, Apple swift-openapi-generator edition of the DRLSetlistFM Swift Package.

Requirements

... Understand how setlist.fm works (the FAQ and Guidelines are good starting points), ... read this documentation carefully and ... apply for an API key (link for logged in users only) - if you're not a registered user yet, then register first (it's free).

Internationalization

Most of the featured methods honor the 'Accept-Language' header. This header is used for localizing cities and countries. The default language is English (en), but you can provide any of the languages Spanish (es), French (fr), German (de), Portuguese (pt), Turkish (tr), Italian (it) or Polish (pl).

Installation

SwiftSetlistFM is available as a Swift Package. To install it, simply add the following line to your 'Package.swift' file:

.package(url: "https://github.com/bdh777psu/SwiftSetlistFM", branch: "main"),

API Keys

API keys must be included in the request with the 'x-api-key' header.

Usage Example

To get started, check out the 'Using the generated code in your target' section of the official Apple swift-openapi-generator documentation, which contains step-by-step tutorials!

See the generator in action in Meet Swift OpenAPI Generator from WWDC23.

Supported platforms and minimum versions

Component macOS Linux iOS tvOS watchOS
Generator plugin and CLI ✅ 10.15+
Generated code, runtime, transports ✅ 10.15+ ✅ 13+ ✅ 13+ ✅ 6+

Author

Diogo Lessa

License

SwiftSetlistFM is available under the MIT license.

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

Last updated: Sun Mar 10 2024 22:12:15 GMT-0900 (Hawaii-Aleutian Daylight Time)