Files
OpenBB/examples/openbb-apachebeam/README.md
mmistroni a14e0cf9cc Feature/openbb apachebeam (#6679)
* adding beam sample

* adding senate discl

* removingn commits on wrong branch

* amended according to latest comments

* Delete openbb_platform/providers/government_us/openbb_government_us/utils/senate_constants.py

file in another bramnch

* Delete openbb_platform/providers/government_us/openbb_government_us/utils/senate_helpers.py

file belong to antothe rbranch

* Update README.md

fixed comment

* Update README.md

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2024-09-26 23:20:46 +00:00

13 lines
617 B
Markdown
Vendored

# OBB Dataflow Sample
This is a sample how to invoke OBB fetchers in an Apache Beam pipeline. (GCP dataflow is build on Apache Beam)
Pre-requisites
- You need to create a Conda environment (or a virtual env) using requirements.txt in this directory
- The script exercise 3 OBB endpoints, all of which require no credentials
- Run the test from the main directory
python -m unittest .\tests\test_obb_pipeline.py
The script will run a pipeline consisting of 3 task which will fetch AAPL quote, profile and news
This is just a very basic sample which can be used as building block to create more complex scenarios