Forecast Flows API
This package is designed as a high level of abstraction around the API endpoints associated with Samson Rock Capital's APIs.
The package provides a lightweight, clean method for interacting with the Microservices.
User Endpoints
- create user -
create_userendpoint enables user creation.create_user("username", "password")
- login user -
login_userendpoint enables user login.access_token = login_user("username", "password")
- get user identification -
get_user_identificationendpoint enables authenticated users to see who else is registered.metadata = get_user_identification(12, access_token)
Forecast Flows Endpoints
-
post flows to database -
post_flows_to_databaseendpoint enables addition of data to database. -
get all index data from database -
get_all_index_data_from_dbendpoint enables extraction of all index data.get_all_index_data_from_db("index_name", "access_token")
-
get all index review data from database -
get_index_review_data_from_dbendpoint enables extraction of all index data for a given review.get_index_review_data_from_db("index_name", 2022, 3, "review_type", "access_token")
-
get all index review data for a single day -
get_index_review_data_single_dayendpoint enables extraction of all index data for a given review, on a single day.get_index_review_data_single_day("index_name", 2022, 3, "review_type", "2022-02-02", "access_token")
-
get all index review data for a date range -
get_index_review_data_daterangeendpoint enables extraction of all index data for a given review, in a date range.get_index_review_data_daterange("index_name", 2022, 3, "review_type", "2022-02-02", "2022-02-03" "access_token")
Announcement Endpoints
- post announcement to database -
post_announcements_to_databaseendpoint enables addition of data to announcement database. - get all announcements from database -
get_all_index_announcements_from_dbendpoint enables collection of all announcement data.get_all_index_announcements("index", "access_token")
- get multiple announcements from database -
get_multiple_index_announcement_data_from_dbendpoint collects multiple announcements from database.get_multiple_index_announcement_data_from_db("index", "review_type", "access_token")
- get a singular index announcement from database -
get_index_announcement_data_from_dbendpoint collects a singular announcement from the database.get_index_announcement_data_from_db("index", 2022, 3, "review_type", "access_token")
Date Handling Endpoints
-
post dates to database -
post_dates_to_databaseendpoint enables addition of date data to the database. -
get index dates from database -
get_index_dates_data_from_dbendpoint enables extraction of index dates.get_index_dates_data_from_db("index", 2022, 3, "review_type", "access_token")
-
get all index dates from database -
get_all_index_dates_from_dbendpoint enables extraction of dates for a singular index.get_all_index_dates_from_db("index", "access_token")
Name Mapping Endpoints
- post index name - database acronym pairs to db -
post_index_name_acronyms_to_databaseendpoint enables the posting of index name, index acronym and benchmark indices to the DB. - get index name - database acronym pairs from db -
get_index_name_acronyms_from_databaseendpoint enables the retrieval of index name, DB acronym and benchmark index values.
get_index_name_acronyms_from_database("access_token")
Tracking Assumption Endpoints
- post tracking assumptions to db -
post_tracking_assumptions_to_databaseendpoint enables the posting of tracking assumptions to the DB. - get all tracking assumptions -
get_all_tracking_assumptionsendpoint enables retrieval of all tracking assumptions held in the db.
get_all_tracking_assumptions("access_token")
- get tracking assumption history -
get_index_tracking_assumption_historyendpoint enables retrieval of historical profile of tracking assumptions for a given index.
get_index_tracking_assumption_history("index_acronym", "access_token")
- get most recent tracking assumptions -
get_most_recent_index_tracking_assumptionendpoint enables the retrieval of the most recent tracking for a given index.
get_most_recent_index_tracking_assumption("index_acronym", "access_token")
Release files for SRC-Endpoints 0.0.0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SRC_Endpoints-0.0.0.2.1.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SRC_Endpoints-0.0.0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.9 kB
Release files / SRC_Endpoints-0.0.0.2.1.tar.gz
| Download URL | SRC_Endpoints-0.0.0.2.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a04456bf1c91e4948ab7b537ea985799dcbe94cb97c12f47236c71d9d54c9ac2
|
|
BLAKE2b-256 checksum How to use checksums |
5a6bc11aa591bf359ba1b33e4434ece0b07a00165e23c379a537ab53d9509071
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / SRC_Endpoints-0.0.0.2.1-py3-none-any.whl
| Download URL | SRC_Endpoints-0.0.0.2.1-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba9f244895c76dbb7409047772e1d9c7107e626391e1e58031098c8a1b753922
|
|
BLAKE2b-256 checksum How to use checksums |
1eac1abfd162306d41dabcb9224a4bd2922d67fbe259f4a9998753472e103b3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|