-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for FMP V4 API endpoint #11
Comments
I'd love to learn how. My Python skills are 'self taught' and I'm not that good of a programmer just yet. (You can probably tell.) :-) I'm good either way.
The line count of init.py is getting long. I'm thinking I should re-break up into multiple files. (If you look into the git history you'd see I had it like that at one time.) What do you think? |
I’ll play around with those ideas. I agree breaking up init into different files would be good. |
I've "added" a v4 method. (Basically I copied/pasted the __return_json() to a new method. I also renamed __return_json() to __return_json_v3() to match. As an aside, I quickly (aka, didn't test) added all the new API endpoints and parameter changes found on the FMP API changelog page. We should be current but if you are inclined to test some of these that would be great! I'm REALLY open to sharing maintenance of this SDK with people and I want to attribute those people. Do you know of an appropriate way to do this? (Maybe an attribution string in init.py? |
@daxm cool, thanks for adding that. There is no standard way that I know of for attribution. Some projects maintain a list on their website or wiki. How about something in the README? Or the a different contributors file? I think putting it in the init.py could get a little unwieldy if you end up with a bunch contributors. I am happy to help maintain. I can test the new methods out and get back to you. |
How would YOU like to be attributed? As Ken Caruso or ipl31? In README
or in code?
…On 2/20/21 7:22 PM, Ken Caruso wrote:
@daxm <https://github.com/daxm> cool, thanks for adding that. There is
no standard way that I know of for attribution. Some projects maintain
a list on their website or wiki. How about something in the README? Or
the a different contributors file? I think putting it in the init.py
could get a little unwieldy if you end up with a bunch contributors. I
am happy to help maintain.
I can test the new methods out and get back to you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZOMZ6NIOJWXXQ2TM36QNDTABU73ANCNFSM4X35S2GQ>.
|
Ken Caruso ken@ipl31.net is fine. Thanks |
I started to implement a few missing APIs here: https://github.com/ipl31/fmpsdk/tree/insider_trading But I realized that the current code expects all endpoints to be on the V3 endpoint. There are a bunch of things on the V4 endpoint now.
I can work on this if you don't have time to. But I would want some guidance on preferred implementations. One less intrusive idea might be to leave everything as is. Create a decorator for V4 API calls which would handle changing the base URL.
The text was updated successfully, but these errors were encountered: