Comments (11)
from investpy.
from investpy.
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 ππ»
from investpy.
Thanks for your efforts. Please can you suggest me parallel api site for 10 years bond data in India.
from investpy.
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 protected]&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!
from investpy.
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.
from investpy.
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 π
from investpy.
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.
from investpy.
from investpy.
from investpy.
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 alvarobartt/investiny#3 (comment)
from investpy.
Related Issues (20)
- raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1) when trying to get economic calendar. HOT 2
- Related to the 403 patch, but not quite related HOT 1
- I got a way to access investing without cloudflare u can try it with requests library HOT 16
- π€π» Use `investiny` while we fix `investpy`! HOT 34
- ConnectionError: ERR#0015: error 403, try again later. HOT 1
- New way to get technical analysis from investing.com HOT 2
- Expecting value: line 1 column 1 (char 0) HOT 15
- JSON error trying to obtain data from investpy HOT 5
- error message when trying to get eco calendar
- Example from the docs fails
- 403 with USDEUR Data HOT 1
- ConnectionError: ERR#0015: error 403, try again later. HOT 6
- stocks missing and duplicated
- ERR#0004: data retrieval error while scraping HOT 1
- Add API to Get Data for Macro Indices
- time_zone problème HOT 2
- Is it possible to use investpy on 4h dataframe?
- ConnectionError: ERR#0015: error 403, try again later. HOT 5
- investpy.stocks.get_stocks_list, error: ERR#0004
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 investpy.