Should I write code that takes the data out of the input field and attaches it as a query to the url or can I just write geo=whatever inside the url manually? I wouldn't know how to do it using code without a submit button and all the documentation I find suggests a submit button.
geo is passed into /articles as a GET parameter. In other words the data "geo=01233". This can be accessed by python using
postal_code = request.args.get('geo')
Once you have articles working then test it by writing inside the URL manually some thing like this
(Obviously replace shauny with whatever username you are)