Enthuse is a fundraising platform in which there are various campaigns for worldwide projects. Task was to create a totaliser to display on websites to show graphically the amount raised and the goal for a given campaign.
Technology: Python, Flask, Curl
I was inspired by the idea of web scraping to download and analyse the campaign page to retrieve the goal and amount raised. Campaign URLs are hardcoded in the Python script. The Flask script takes a parameter for a campaign, the campaign page is downloaded and analysed.
The results are output with Flask in HTML and CSS inside a rectangle which can be resized and embedded on pages.