In this instructional video, a specific package is utilized to automate the collection of cryptocurrency data from an online source at one-minute intervals, with the intention of storing this information in a database. The scheduling capabilities of the package offer remarkable flexibility, allowing for various configurations such as executing tasks every minute, daily at midnight, or weekly at designated times.
The video incorporates a containerization tool to facilitate this process, as compatibility issues arise with certain operating systems. Additionally, a library is employed to manage sensitive configuration details, including authentication credentials, while another tool is integrated for real-time updates on the webpage, eliminating the need for manual refreshes.
Data collection is executed every minute through the scheduled function, with the gathered information being saved in the database. Real-time updates are seamlessly displayed on the website, ensuring users have access to the latest data as soon as it is available.
The presentation begins with an introduction, followed by a setup phase, an overview of the containerization tool, and the incorporation of configuration settings. It continues with testing an application programming interface through a command-line interface, creating database models, and developing the scheduled function. Furthermore, it includes steps for configuring job settings and displaying the price data on the webpage, culminating in the implementation of real-time updates via a polling mechanism.
Source Link