📈 PyInvestingDataFetcher
A simple Python library to fetch equity data from investing.com.
Disclaimer: I created this library for fun and learning. I'm not sure about the proper ways to utilize this data. Maybe it's useful for someone out there! 🤷♂️ Also, I haven't checked the terms of service of investing.com closely, so using this might not align with their policies. Please ensure you're in compliance before using! 🚫 📜 Table of Contents
📜 Table of Contents
- Installation
- Usage
- Configuration
- Contributing
- License
🛠 Installation
To install the library, just do:
pip install PyInvestingDataFetcher
🚀 Usage
Fetching data is a breeze with PyInvestingDataFetcher. Here's how:
from investingfetcher.equity import Equity
from investingfetcher.fetchers import LazyEquityFetcher
if __name__ == "__main__":
fetcher = LazyEquityFetcher('api_key.config', as_single_df=True)
res = fetcher[Equity.tesla]
Replace Equity.tesla with your desired equity name and see the magic! 🎩✨
⚙ Configuration
Remember to set up your api_key.config with the necessary keys and configurations to access investing.com data. api_key.config should look like this:
api_key=[your_api_key_here]
Metadata
Release files for investingfetcher 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| investingfetcher-0.1.0.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| investingfetcher-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.5 kB
Release files / investingfetcher-0.1.0.tar.gz
| Download URL | investingfetcher-0.1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
807ccf4c36828a21dad696f2ac1b45e53dce5c507d16040c16e33b5200c191f7
|
|
BLAKE2b-256 checksum How to use checksums |
291b4dcc45827ecfbc99c9de8607b8169a1bc6ed0ffd730a3e6930cd2112bfd7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.12 Darwin/20.6.0
|
Release files / investingfetcher-0.1.0-py3-none-any.whl
| Download URL | investingfetcher-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9b240fd6588fde493a9d870084252178210bf00c9207964559cc3706e95ebf1
|
|
BLAKE2b-256 checksum How to use checksums |
e844d2d1e601faac9f7ab76792345b970712cfbcdea2202bb670843d05556a40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.12 Darwin/20.6.0
|