Updated Twitter Sales Notification Bot
https://twitter.com/azukisales
This version uses the following APIs:
- OpenSea API (need a key)
- LooksRare API (free)
- Etherscan API (free)
- Ethplorer API (free)
- Twitter API (you need elevated access to be able to post images using the v1 auth)
It currently supports sales on OpenSea, LooksRare, and Gem.xyz.
I run it on AWS Lambda using a 5 minute trigger. Every 5 minutes, it gets the Ethereum block number that was mined 5 minutes ago. Then it checks all interactions with a given contract or contracts, and checks if they are a sale and if so, from which marketplace they came.
If you want to use it for other contracts, you'll need to change the contracts in lambda_handler and the metadata image link in get_img_url_gem_sweep.