Skip to content

A twitter bot that tweets out masked aerial images of geographies

License

Notifications You must be signed in to change notification settings

blu3r4d0n/places-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Every Place Bot

@everyusplace is a twitter bot that tweets out masked aerial images of geographies alt text

Description

This bot tweets out masked aerial imagery of US Census places using shapes from IPUMS NHGIS.

Getting Started

This bot looks for a shapefile named US_place_2020.shp which can be obtained from NHGIS. You can also swap out this file for another file but some things might break depending on the names of the attributes of the file.

You will also need to create a secrets.py and populate it with twitter developer credentials. Like this:

consumer_key = "YOUR API KEY HERE"
consumer_secret="YOUR API SECRET HERE"
access_token="YOUR ACCESS TOKEN HERE"
access_token_secret="YOUR ACCESS TOKEN SECRET HERE"

Dependencies

  • python 3.9
  • geopandas
  • rasterio
  • us
  • rasterio
  • xyzservices
  • requests
  • tweepy

Executing program

python bot.py

Authors

Philip Nelson @blu3r4d0n

Acknowledgments

The inspiration for this bot was @everytract by @fitnr.

About

A twitter bot that tweets out masked aerial images of geographies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages