GithubHelp home page GithubHelp logo

owenlittlejohns / globalentrychecker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

A serverless project to regularly check the soonest appointment time for Global Entry using AWS SAM.

Python 100.00%

globalentrychecker's Introduction

Global Entry Checker

A serverless project to regularly check the soonest appointment time for Global Entry using AWS SAM.

Prequisites:

Set up a Python environment:

You can use either conda or pyenv to set up a Python environment that will allow SAM to find the requisite version of Python for the lambda runtime (3.9).

Conda:

conda create --name global-entry python=3.9 --channel conda-forge --channel defaults

Deployment

sam build
sam deploy --guided

The SAM template has a number of parameters. These include:

  • The project name
  • A comma separated list of Global Entry location IDs to query.
  • An email address to which the SNS topic will send notifications.

After running sam deploy --guided for the first time, the values entered will be saved in sam-app/samconfig.toml. These values will ensure future invocations find these values.

Note - the SNS subscription confirmation email may be identified as span by an email client.

Determining location IDs for specific locations:

  • Navigate to the Global Entry appointment schedule page.
  • Determine a location that you want to get updates about.
  • Open the Chrome developer tools (or equivalent) and open the Network tab.
  • Click on your location of interest.
  • Find the new request to the schedulerapi/slots endpoint. The payload of this request will include a locationId.

TODO:

  • Tests

globalentrychecker's People

Contributors

owenlittlejohns avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.