Mathieu2301 / TradingView-API

📈 Get real-time stocks from TradingView
1.31k stars 307 forks source link

refactor(tv): use global variables for tv domain and urls instead of hardcoded values #217

Closed clins1994 closed 7 months ago

clins1994 commented 9 months ago

Overview

The goal of this PR is to move the TradingView domain and any URLs built on top of it to global variables

Pros
Cons
Notes

I only refactored for the TradingView domain related URLs but we could do the same for the others as well ... I can do it on this PR if y'all agree or make another one later.

jwelmac commented 9 months ago

Awesome move!

clins1994 commented 9 months ago

Awesome move!

Thank you 🤝

clins1994 commented 9 months ago

@Mathieu2301 sorry to mention you directly. Could you have a quick look at this small PR?