financial-modeling-prep-api
This is a Python package for financialmodelingprep.com API.
It is a simple package that allows you to get the data from the API.
I searched for a complete package for the API, but I could not find one.
I decided to create this package to help others who are looking for a complete package for the API.
Every endpoint is implemented in the package, including websockets.
They might not work or have errors however, this is a work in progress, see Known Issues / TODO.
Installation
You can install the package using pip:
pip install financial-modeling-prep-api
Usage
You can use the package to get the data from the API. You can use the following code to get the data:
from financial_modeling_prep import FinancialModelingPrep
fmp = FinancialModelingPrep(api_key='your_api_key')
# Get the profile of the company
profile = fmp.company_info.get_company_profile('AAPL')
The various endpoints are broken down into different classes. You can use the following classes to get the data, this matches the documentation at financialmodelingprep.com.
Contributing
If you would like to contribute to the package, please feel free to fork the repository and submit a pull request. You can also submit an issue if you would like to see a new feature or if you have found a bug.
This is still very much a work in progress, so any help is appreciated.
Known Issues / TODO
- The package is still in development and is not yet ready for production use.
- The package is not tested, and therefore broken.
- Types are not yet fully implemented and may not be accurate.
- Params need validation and error handling.
- Error handling is non-existent.
- Requests-cache is not appropriate for all endpoints.
- Exponential backoff is not implemented when the API rate limit is reached. Although, requests-cache should help with this.
License
This package is licensed under the MIT License. Please see the LICENSE file for more information.
Metadata
Release files for financial-modeling-prep-api 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| financial_modeling_prep_api-0.1.2.tar.gz | 72.1 kB | Without provenance | Details for financial_modeling_prep_api-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| financial_modeling_prep_api-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for financial_modeling_prep_api-0.1.2-py3-none-any.whl |
Total release size: 161.9 kB
Release files / financial_modeling_prep_api-0.1.2.tar.gz
| Download URL | financial_modeling_prep_api-0.1.2.tar.gz |
|---|---|
| Size | 72.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
644729a7752f4d545501a4ee6cfa6249bbb3a9393d2d073a8f66bbb211d27012
|
|
BLAKE2b-256 checksum How to use checksums |
6bfcc052c9d9ef92915de321f861e1c6317117824ca8180d80a4e86c49fc6d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / financial_modeling_prep_api-0.1.2-py3-none-any.whl
| Download URL | financial_modeling_prep_api-0.1.2-py3-none-any.whl |
|---|---|
| Size | 89.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4dd8048c42d35cc4f4fae1f992213a04ec585a6ba21e2ceec2df40b006be0680
|
|
BLAKE2b-256 checksum How to use checksums |
b253cd8b2c0d483359a446283ed090d469584dd4a19e6ddb672aa65585d53a9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Security for financial-modeling-prep-api 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.