fugle-rs
A Simple, Lightweight, Fast and Safe Fugle Library.
What is Fugle
This is a rust version library to access Fugle's
- RESTful API
- Websocket (enable websocket feature)
services in a very easy way.
Examples
for more please reference to the examples folder
Fugle Chart
API
let agent = new.build;
agent.chart.call?;
Websocket
let = channel;
let mut lis = new;
lis.chart;
let response = rx.recv?;
Fugle Quote
API
let agent = new.build;
agent.quote.call?;
Websocket
let = channel;
let mut lis = new;
lis.quote;
let response = rx.recv?;
Fugle Meta
API
let agent = new.build;
agent.meta.call?;
Websocket
let = channel;
let mut lis = new;
lis.meta;
let response = rx.recv?;
Fugle Dealts
API
let agent = new.build;
agent.dealts.call?;