Comments (4)
I would agree with you. It appears I copy/pasted to make the "historical_rating" method but didn't change anything. This said, I've looked through the FMP API Docs and I don't see what I should have put here.
I've been remiss on keeping up to date with changes/additions. The FMP API team seems to be regularly adding and changing things. During these changes it appears they must have restructured the API methods layout and categorization. At some point in the past they must of had some sort of "historical rating" endpoint but now I don't see it.
So, do you see what endpoint historical_rating should point to?
As an aside, I'll try to prioritize updating the fmpsdk python package to bring it more in sync with FMP's current API endpoints.
from fmpsdk.
I took a look and found the correct string. This is working for me:
def historical_rating(
apikey: str,
symbol: str,
limit: int = DEFAULT_LIMIT,
) -> typing.Optional[typing.List[typing.Dict]]:
"""
Query FMP /historical-rating/ API.
:param apikey: Your API key.
:param symbol: Company ticker.
:param limit: Number of rows to return.
:return: A list of dictionaries.
"""
path = f"historical-rating/{symbol}"
query_vars = {"apikey": apikey, "limit": limit}
return __return_json_v3(path=path, query_vars=query_vars)
from fmpsdk.
I appreciate your prompt response earlier =] Like i mentioned, great job with the Lib!
from fmpsdk.
Updated and new version released.
from fmpsdk.
Related Issues (20)
- Support for FMP V4 API endpoint HOT 6
- New insider_trading API keeps timing out HOT 5
- Looking for data: growth of Tangible Book Value per Share of a company. HOT 2
- A way to respect the limit of # request per minute HOT 5
- earning_call_transcripts
- control number of API calls per minute HOT 3
- There is no distinction between no data and an error in __return_json_v3 HOT 3
- support for cloud client HOT 2
- fmpsdk stockscreener not capturing all results HOT 1
- def available_efts(apikey: str) has misspelling of etf HOT 5
- Missing ETF Expense ratio API HOT 5
- opinion: name of functions should be the name of endpoints, not api url. HOT 1
- historical_price_full error with more than one symbol HOT 4
- Fork and update HOT 1
- Implementation and documentation of historical-price-full and historical-chart are wrong HOT 3
- Screening by price value HOT 1
- Can't install 20240104.0 from PyPI HOT 2
- Why not put the code to get the apikey into the sdk? HOT 3
- Thanks! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmpsdk.