Skip to content
Real-time updates from stations in the NYC area that are serving gas based on transaction data.
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dateutil
.gitignore
BeautifulSoup.py
README.md
app-example.yaml
cron-example.yaml
index.yaml
main.py
model.py
settings-example.py
tweepy.zip

README.md

NYC Gas Finder

Real-time updates from stations in the NYC area that are serving gas based on transaction data. Created by @hirefrank. This project was inspired by the gas shortage in the area following Sandy.

@nycgasfinder

Gas stations in a 10 mile radius of zip code 11201.

@njgasfinder

Gas stations in a 10 mile radius of zip code 07922.

@bronxgasfinder

Gas stations in a 10 mile radius of zip code 10469.

@wcgasfinder

Gas stations in a 10 mile radius of zip code 10514.

@nassaugasfinder

Gas stations in a 7 mile radius of zip code 11501.

@queensgasfinder

Gas stations in a 10 mile radius of zip code 11433.

@ligasfinder

Gas stations in a 20 mile radius of zip code 11779.

@sigasfinder

Gas stations in a 7 mile radius of zip code 10314.

Details

Data is from WEX, formerly wrightexpress.com, a "premier provider of physical, digital and virtual payment card solutions". I use BeautifulSoup for the HTML scraping and Tweepy's Twitter API Library. There is not much else to the code and it is currently running on AppEngine.

Feel free to clone for your needs. I appreciate any patches to core functionality to make things a bit less hacky. Have an idea for another data source? Let me know, frank (at) hirefrank.com.

Something went wrong with that request. Please try again.