poormarket

poormarket

2 devlogs
1h 50m
Created by obob

a fake blackmarket site with the actual stock and products in the real black market!

Timeline

I created the basic webpage using Flask. It uses my script from the previous devlog (but modified to print anything) to get the items which are then iterated over and made into a card as seen on line 20-25. I just created a really simple boilerplate for the html and added {{card_html|safe}} in the body to render all of the cards. I had to use the safe option, else it would have been escaped by flask and wouldn't work. Right now, I have the images, buy links, title and description. However, I still need to add proper CSS because right now it looks like a webpage from the 2000s lol

I created the first basic script to get the items from @mahad's api, split them into blackmarket and the normal shop and display them with the shell count. I used the Colorama module for the colored output and the requests library to get the api. There is a spaces variable that is set to 5 and subtracted by the length of the shell cost. This just makes everything aligned and is by far the most overengineered part so far. The script also gets the regions from the api and puts it all in a set, so you can get accurate costs for your region