Open akashghaytadkar1109 opened 1 year ago
Hi @akashghaytadkar1109 as @adelRosal pointed out, everyone is actively looking into this issue so as to find a way to solve it, as Investing.com recently changed their APIs and included Cloudflare v2 protection, which seems hard to skip using Python... But we're working on it, also we've also contacted Investing.com so as to see whether we can get to an agreement in order to keep investpy
alive 👍🏻
Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.
Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.
You can use the API that I made for now: http://api.scraperlink.com/investpy/
For the India 10Y bond data, you would retrieve it like this: http://api.scraperlink.com/investpy/?email=your@email.com&type=historical_data&product=bonds&from_date=01/01/2022&to_date=09/28/2022&time_frame=Monthly&country=india&name=India%2010Y
You can change the time_frame params as needed (i.e. Daily, Weekly, Monthly).
Hope it helps!
Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.
Hi @akashghaytadkar1109, you can use investiny
in the meantime, which is a solution that I've created to retrieve the historical data of any Investing.com asset using the Investing.com ID. I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla's project to bypass the Cloudflare protection.
I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla's project to bypass the Cloudflare protection.
If their only requirement is to "mention the source", I don't believe my workaround would violate their terms either.
However, I tested investiny
and it works perfectly! Hopefully it continues that way, but it doesn't hurt to have my API as a quick backup if it stops. Redundancy is always good!
Great work on finding a solution @alvarobartt @ramakrishnamekala129 🙏
I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla's project to bypass the Cloudflare protection.
If their only requirement is to "mention the source", I don't believe my workaround would violate their terms either.
However, I tested
investiny
and it works perfectly! Hopefully it continues that way, but it doesn't hurt to have my API as a quick backup if it stops. Redundancy is always good!Great work on finding a solution @alvarobartt @ramakrishnamekala129 🙏
That's right @webdevzilla it's a nice solution, just keep that in mind!
I'll check it in another branch or something and let you know! Thanks.
Awesome, thanks!
On Mon, 3 Oct 2022, 2:22 am Alvaro Bartolome, @.***> wrote:
I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla https://github.com/webdevzilla's project to bypass the Cloudflare protection.
If their only requirement is to "mention the source", I don't believe my workaround would violate their terms either.
However, I tested investiny https://github.com/alvarobartt/investiny and it works perfectly! Hopefully it continues that way, but it doesn't hurt to have my API as a quick backup if it stops. Redundancy is always good!
Great work on finding a solution @alvarobartt https://github.com/alvarobartt @ramakrishnamekala129 https://github.com/ramakrishnamekala129 🙏
That's right @webdevzilla https://github.com/webdevzilla it's a nice solution, just keep that in mind!
I'll check it in another branch or something and let you know! Thanks.
— Reply to this email directly, view it on GitHub https://github.com/alvarobartt/investpy/issues/607#issuecomment-1264730790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZGP57FCWKCWOLM74RHDD3DWBHYZNANCNFSM6AAAAAAQTVLUII . You are receiving this because you were mentioned.Message ID: @.***>
hii, from above api we get data but which is not in json format for analysis. Please can you share the code to convert above data in "csv" or "json" format directly.
On Mon, Oct 3, 2022 at 8:55 AM Akash Ghaytadkar @.***> wrote:
Awesome, thanks!
On Mon, 3 Oct 2022, 2:22 am Alvaro Bartolome, @.***> wrote:
I'm not responsible for the usage of alternate solutions that may violate Investing.com terms of use like @webdevzilla https://github.com/webdevzilla's project to bypass the Cloudflare protection.
If their only requirement is to "mention the source", I don't believe my workaround would violate their terms either.
However, I tested investiny https://github.com/alvarobartt/investiny and it works perfectly! Hopefully it continues that way, but it doesn't hurt to have my API as a quick backup if it stops. Redundancy is always good!
Great work on finding a solution @alvarobartt https://github.com/alvarobartt @ramakrishnamekala129 https://github.com/ramakrishnamekala129 🙏
That's right @webdevzilla https://github.com/webdevzilla it's a nice solution, just keep that in mind!
I'll check it in another branch or something and let you know! Thanks.
— Reply to this email directly, view it on GitHub https://github.com/alvarobartt/investpy/issues/607#issuecomment-1264730790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZGP57FCWKCWOLM74RHDD3DWBHYZNANCNFSM6AAAAAAQTVLUII . You are receiving this because you were mentioned.Message ID: @.***>
Hi @akashghaytadkar1109 I'd suggest you use investiny
instead as it's providing the data as a Python dictionary, there's still work in progress there, but currently is stable and open to issues/contributions.
In case you're wondering how to retrieve the Investing.com ID (param named investing_id
in investiny
) check the following comment's answer at https://github.com/alvarobartt/investiny/issues/3#issuecomment-1265008651
Thanks for your efforts
On Fri, 30 Sep 2022, 12:43 pm Alvaro Bartolome, @.***> wrote:
Hi @akashghaytadkar1109 https://github.com/akashghaytadkar1109 as @adelRosal https://github.com/adelRosal pointed out, everyone is actively looking into this issue so as to find a way to solve it, as Investing.com recently changed their APIs and included Cloudflare v2 protection, which seems hard to skip using Python... But we're working on it, also we've also contacted Investing.com so as to see whether we can get to an agreement in order to keep investpy alive 👍🏻
— Reply to this email directly, view it on GitHub https://github.com/alvarobartt/investpy/issues/607#issuecomment-1263195283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZGP57E5SSCZSSFTJXX7TILWA2HIHANCNFSM6AAAAAAQTVLUII . You are receiving this because you were mentioned.Message ID: @.***>
data = investpy.get_bond_historical_data(bond='India 10Y', from_date='02/01/2007', to_date = t1) File "/root/anaconda3/lib/python3.9/site-packages/investpy/bonds.py", line 596, in get_bond_historical_data raise ConnectionError( ConnectionError: ERR#0015: error 403, try again later.
Please help me to fix this issue.