BazaarTicker is a website that tracks product data from Hypixel's API, displays data, and emails users when user defined price conditions are met. This website serves as a visual interface of the virtual in-game stock prices in the Hypixel Skyblock Bazaar market.
This project was created as a personal project by students, to develop skills in PHP, JS, HTML, and CSS and to familiarize ourselves with technologies such as AWS and MySQL. This website is currently being hosted using Amazon Web Services, using a LAMP stack (Amazon Linux).
Last working build with:
- Bootstrap 3
- PHP 7.4.1
- jQuery 1.2.1
- CSS 3
- HTML
- Javascript
- 200+ items available
- One week of price history
- Can request for an email upon an item being sold or bought at a threshold
- Precise, to-date buy and sell information:
- Quantity
- Price
- Orders
main.js
contains all code pertaining to: the resizing of display depending on screen size, the search box and which items are shown in the dropdown, the picture display under the graph and the buy and sell information tables.graph.js
contains all code pertaining to the display of data in the centre graphvalidation.js
contains all code pertaining to the email form on the right side of the page and sending its data toserverside/formToServer.php
serverside/
formToServer.php
contains code that writes information received byvalidation.js
to a MySQL databasecheckEmails.php
is run every 2 minutes with a cron job set up in the EC2 server to check through any emails in the database to see if their requirements are met and then are sent to the specified email using SMTP from PHPMailer.getDataFromServer.php
is called bygraph.js
in order to obtain past information and put it into the graph since Hypixel's Bazaar API does not provide any past data.tracker.php
is run infinitely in a loop to get data from the Hypixel API and store the data received into a database
This app is inspired by other Hypixel API trackers like (https://stonks.gg)