Skip to content

Latest commit

 

History

History
81 lines (53 loc) · 2.82 KB

File metadata and controls

81 lines (53 loc) · 2.82 KB

Twitter LinkedIn

USPS Passport appointment finder

Little python script to help check available passport appointment for 30 days given specified location and start date.

animated

Helpful links

Appointment entrance

Processing time

Features

  • search by zip and date
  • search for next one month continuously
  • book appointment
  • cancel appointment
  • Ready to use curl command and postman collection

Requirements

It requires Python 3.8 or higher, check your Python version first. You need to install pyhon3 and its package manager pip, then install required packages

pip3 install -r requirements.txt

Usage

Terminal

$ python3 passport_appointment_finder.py

or $ python3 appointment_finder_cli.py --zipcode 12345 configurations like email, phone are stored in config.cfg file

Postman collection

There are two files. Environment and API

Just to update current value in environment then run the APIs

API reference

Pleas refer to API document. Including appointment searching, booking, cancellation.

In progress

  • add CLI with parameters (--zipcode --date)
  • support menu

Todo

  • code refactor with exception handler
  • add web frontend

Contributing

Before contributing, please read the instructions detailed here contribution guide.

Backstory

USPS website is so hard to use when searching for appointments. I have an international trip coming which requires visa after naturalization. It's pretty urgent for me to get the passport. Now here is the script to help whoever has the need.