Lambda SWAPI v.2.0
Simply choose two characters from the Star Wars universe, and the program will query SWAPI (https://swapi.dev/), a Star Wars API, to return the movies in which both of them appear.
If you have never executed a Jupyter Notebook before, just press the Launch Binder icon above, and wait until the program loads (it can take a while!). Once it is ready, go to Cell and choose Run All. If you want to try another combination, select the cell marked as  and press Shift + Enter (or click the Run button just below the Cell tab).
- The original site (SWAPI.co) suddently stopped working, therefore this program is actually querying a forked version (SWAPI.dev).
- As of September 2020, SWAPI only covers the original and prequel trilogies.
1.0 to 2.0
The code has been rewritten from scratch.
- Improved search: The program no longer downloads the whole characters list and then loops over it. Now it "captures" dinamically the names and once it gets both characters' names it automatically stops the searching.
- Use of fuzzywuzzy library: With the use of this library, now it automatically detects if there are matches with the API, even if there are typing mistakes on user's input. And it even allows for considerable variations; for instance, while the character on the database is called "Jabba Desilijic Tiure", user still can write "Jabba the Hutt" and it will be detected as well.
- More robust functions: Now they are able to detect several anormal situations and stop the program accordingly (i.e.: list with invalid URLs).
- Proper Unit Testing: The Unit Tests now were properly implemented, and also a lot more were added, making an approximate total of 111.
- Easier to use: You only need to load the Jupyter Notebook file, write your two desired characters and simply wait for the program to return some results.
- Preliminary Static Type Checking on Functions: More information about this functionality can be read here.
Program written from scratch by Daniel Palacio.
Star Wars image by Agnieszka Kowalczyk - Unsplash.com (https://unsplash.com/photos/c0VRNWVEjOA)