A Simple, Lightweight, Fast and Safe Fugle Library.
What is Fugle
This is a rust version library to access Fugle's
services in a very easy way.
for more please reference to the examples folder
API ```rust
let agent = IntradayBuilder::new().build(); agent.chart("2884").call()?;
```
Websocket ```rust no_run
let (tx, rx) = mpsc::channel(); let mut lis = listener::Intraday::new("demo", tx.clone());
lis.chart("2884", true); let response = rx.recv()?;
```
API ```rust
let agent = IntradayBuilder::new().build(); agent.quote("2884").call()?;
```
Websocket ```rust no_run
let (tx, rx) = mpsc::channel(); let mut lis = listener::Intraday::new("demo", tx.clone());
lis.quote("2884", true); let response = rx.recv()?;
```
API ```rust
let agent = IntradayBuilder::new().build(); agent.meta("2884").call()?;
```
Websocket ```rust no_run
let (tx, rx) = mpsc::channel(); let mut lis = listener::Intraday::new("demo", tx.clone());
lis.meta("2884", true); let response = rx.recv()?;
```
API ```rust
let agent = IntradayBuilder::new().build(); agent.dealts("2884").call()?;
```