How to make an HTTP request in Java to fetch real-time Bitcoin price

preview_player
Показать описание
This video teaches how to make HTTP requests in Java, using a FREE api that fetches real-time Bitcoin and other crypto currency prices.

1:39 - Create new project
3:22 - High level overview of system design
5:43 - Create startMenu method
12:57 - Create CryptoApi class
23:42 - Stub method for getting current coin price
26:56 - Introduce CoinCap API
29:42 - Introduce HttpRequest API
36:53 - Import Jackson Maven dependency
38:23 - Create Java POJO for Crypto Coin data response
42:13 - Use ObjectMapper to map JSON into Java class
45:39 - Parse cryptocurrency price into decimal format

Relevant Links used in video:

Рекомендации по теме
Комментарии
Автор

Wow this is so informative! thank you man

Crkettt
Автор

Do a full stack one that shows you displaying the data on the front end with a nice UI

dnm
Автор

I love finding free APIs to play around with! Do you have any other examples of free APIs you've used?

PragmaticWays
visit shbcf.ru