A Twilio and Indeed based service that regularly sends SMS messages when a given desired position on Indeed opens. Implemented in Python. My instance of NowPosted is hosted on a Raspberry Pi using ngrok and can specifically can be found at http://nowpostedfor.me
#####*NowPosted was implemented and tested in Python 3.5 in a Unix terminal. Using a different version of Python or a non Unix Terminal may not work.*
Clone this repository with the following command in terminal.
git clone https://github.com/bhernandez-cs/NowPosted.git
Within terminal and inside the project folder, install the necessary libraries and APIs that are required by NowPosted. A virtual environment is a good idea!
pip install -r requirements.txt
Create a new file titled 'credentials.py' that will host your personal credentials for the Twilio and Indeed API. Inside of your 'credentials.py' file should be the following:
#You can find/get Twilio credentials at https://www.twilio.com/console
account_sid = "YOUR TWILIO ACCOUNT SID"
auth_token = "YOUR TWILIO AUTH TOKEN"
my_twilio_number = "YOUR TWILIO PHONE NUMBER"
#You can find/get Indeed credentials at http://www.indeed.com/publisher
my_indeed_publisher_id = "YOUR INDEED PUBLISHER ID"
Start the Flask NowPosted server with the following command inside of the project folder in terminal.
python NowPosted.py
The server will serve up all of the static HTML and CSS files by default. However, you'll need to let Twilio find your server to send and respond to messages appropriately. You can use any of the following services, I recommend ngrok!
Once you have an online server endpoint, visit the settings for your Twilio phone number at https://www.twilio.com/console and enter your endpoint:
Be sure to configure the CNAME of your domain if you are using one!
Save these settings, visit the endpoint for your server on any browser to sign up, and get you and your friends NowPosted daily!