fmp-rs is a wrapper for the Financial Modeling Prep Web API.
This is only a partial implementation, feel free to submit a pull request for new endpoints. Also it currently only supports async, a pull request for a blocking client would be welcome.
To learn how to use fmp-rs, please refer to the usage section below.
```toml [dependencies]
fmp = "0.2" ```
```rust use fmp::Client; use fmp::period::FMPPeriod;
async fn main() {
let client = Client::new(
"https://financialmodelingprep.com/api",
"
let result = fmp.income_statements("AAPL", FMPPeriod::YEAR).await; let statements = result.unwrap(); println!("{:?}", statements); } ```
/v3/search?query=AA/v3/stock/list/v3/quote/AAPL/v3/historical-price-full/AAPL/v3/analyst-estimates/AAPL/v3/profile/AAPL/v3/historical/earning_calendar/AAPL?limit=80/v4/earning_call_transcript?symbol=AAPL/v3/earning_call_transcript/AAPL?quarter=3&year=2020/v3/income-statement/AAPL?period=quarter/v3/balance-sheet-statement/AAPL?period=quarter/v3/cash-flow-statement/AAPL?period=quarter/v3/quotes/forex/v3/stock_news?tickers=AAPL&limit=50If you find any problems or have suggestions about this crate, please submit an issue. Moreover, any pull request, code review and feedback are welcome.