Fugle Realtime Swift is a Swift library for accessing the Fugle Realtime API. It provides a simple and easy-to-use interface for developers to retrieve real-time stock market information. This library uses the WebSocket communication protocol and follows the API specifications provided by Fugle.
To use Fugle Realtime Swift, you can install it using the Swift Package Manager. To add it to your project, open Xcode, select File > Swift Packages > Add Package Dependency and enter the following URL:
https://github.com/Make-a-good-soup/fugle-realtime-swift
To use Fugle Realtime Swift, you first need to register for a Fugle API account and obtain an API token.
import fugle_realtime_swift
let token = "your-api-token"
let result = await FugleHttpLoader().loadQuote(token: token, symbolId: symbolId)
If you encounter any issues or find any bugs while using Fugle Realtime Swift, feel free to submit an issue or pull request. We welcome contributions from the developer community!
Fugle Realtime Swift is released under the MIT license. See LICENSE for details.