alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

Question on endpoint #526

Open albe-jj opened 2 years ago

albe-jj commented 2 years ago

HI Alvaro, thank you for the nice package.

I've been looking into the request you make to the server, and I was wondering how did you find the endpoint. I was trying to build a scraper myself befor finding your package but using chrome inspector I could only find this endpoint https://api.investing.com/api/financialdata/47374/historical/chart/ params = ( ('period', 'MAX'), ('interval', 'P1D'), ('pointscount', '120'), )

which returns json data.

If I wanted to find the endpoint that you use https://www.investing.com/instruments/HistoricalDataAjax from chrome inspector how should do?