Tinu-thampi13 / CryptoList-App

Crypto List is a real-time cryptocurrency tracking application that provides you with the latest data on the top 100 cryptocurrencies. You can view their market performance, including price changes, and see the prices in Indian Rupees (INR). This app uses the CoinGecko API to ensure accurate and up-to-date information, making it an essential tool.
MIT License
3 stars 0 forks source link

"Real time" #1

Open fjr619 opened 3 months ago

fjr619 commented 3 months ago

Will it auto refresh the value if there is changes on the price of crypto? Or do we have to manual refresh to get latest value?

Tinu-thampi13 commented 3 months ago

It automatically get refreshed whenever there is a change in the price of the cryptocurrency.

On Mon, 19 Aug 2024, 19:24 fjr619, @.***> wrote:

Will it auto refresh the value if there is changes on the price of crypto? Or do we have to manual refresh to get latest value?

— Reply to this email directly, view it on GitHub https://github.com/Tinu-thampi13/CryptoList-App/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATAVGBIFOL6SRSCHW7QVIHDZSH2JBAVCNFSM6AAAAABMX4KE2CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TGNBSHEYDSOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fjr619 commented 3 months ago

May i know how the app know if there is a changes in the api, so it will refresh? Cause on your fetching it is just http and you are not using like socket to observe the server changes. Thank you

Tinu-thampi13 commented 3 months ago

I have created a function which refresh the page every few seconds. This ensures real time changes in the crypto List. ( I am using coingecko api to fetch the crypto info )

On Fri, 23 Aug 2024, 19:22 fjr619, @.***> wrote:

May i know how the app know if there is a changes in the api, so it will refresh? Cause on your fetching it is just http and you are not using like socket to observe the server changes. Thank you

— Reply to this email directly, view it on GitHub https://github.com/Tinu-thampi13/CryptoList-App/issues/1#issuecomment-2307145756, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATAVGBIA5OUGXOCFBF2LLMLZS45CNAVCNFSM6AAAAABMX4KE2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGE2DKNZVGY . You are receiving this because you commented.Message ID: @.***>

fjr619 commented 3 months ago

Thank you, but may i know where is the code for refreshing the page? I can't find that