Skip to main content

Python wrapper for financialmodelingprep.com API

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

financial_modeling_prep_api-0.1.2.tar.gz (72.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file financial_modeling_prep_api-0.1.2.tar.gz.

File metadata

File hashes

Hashes for financial_modeling_prep_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 644729a7752f4d545501a4ee6cfa6249bbb3a9393d2d073a8f66bbb211d27012
MD5 03fc6a3e940b0911f72ee5c686a34faf
BLAKE2b-256 6bfcc052c9d9ef92915de321f861e1c6317117824ca8180d80a4e86c49fc6d06

See more details on using hashes here.

File details

Details for the file financial_modeling_prep_api-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for financial_modeling_prep_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4dd8048c42d35cc4f4fae1f992213a04ec585a6ba21e2ceec2df40b006be0680
MD5 47819325402ff6b37db280677bae4d2e
BLAKE2b-256 b253cd8b2c0d483359a446283ed090d469584dd4a19e6ddb672aa65585d53a9b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page