Local-Connectivity-Lab / ccn-coverage-vis

Visualizations of coverage and performance analysis for Community Cellular Networks.
2 stars 2 forks source link

Webscraper: Stand up a FastAPI server that accepts a get request #38

Closed philion closed 3 weeks ago

philion commented 5 months ago

Implement a simple HTTP GET method at "/" to accept an address string as input, and invoke the scraper logic (a different issue), and return the JSON response in the API response.

Document how to start the webscraper service in the README.

Aaron8727 commented 5 months ago

I fixed the HTTP GET issue so you can now run the API with the following URL: "http://127.0.0.1:8000/?state=va&cityname=arlington&primary=3109&street_number=9th&st=St&post_direction=N&zip_5=22201"
also, I'm assigning myself the role of making it possible to accept other address data

philion commented 4 months ago

Great! Yeah, we need to be able to parse the data out of the original URL and apply it to the call to allconnect.

Let's leave this issue open until we've got the server running with expected behavior.

philion commented 4 months ago

Also, @Aaron8727: Assign this ticket to yourself (see top right Assignees) to track working on which features.

philion commented 3 weeks ago

This is complete. the code is at https://github.com/Local-Connectivity-Lab/ccn-coverage-scraper