I am currently in the process of developing a discord bot using discord.js, and one of the features I am trying to implement is a command that displays the current bitcoin price. To achieve this, I am utilizing the CoinDesk API which provides the necessary data in a JSON format accessible through this link:
Although I have some basic knowledge of JavaScript, I have been struggling with tutorials related to web scraping and data manipulation in this context. My goal is to extract the required information from 'bpi' > 'USD' > 'rate', but I'm unsure about the specific approach to take. I would be grateful for any guidance or suggestions on the methods or tools I should consider, rather than expecting someone to provide me with the exact code. I am seeking direction to overcome this challenge on my own and enhance my skills in the process.