Resources > Freebies > Art Raffle Code
Art Raffle Code
I ran a couple of art raffles on Twitter and I used Python code to help me find the intersection between Twitter users who:
- - followed me
- - liked the art raffle post
- - retweeted the art raffle post
I used the Tweepy API and a web scraper called GeckoDriver to extract that data, then randomised the list so I could find the art raffle winner in an unbiased way.
The code is available on GitHub.