Micro service which takes a zipcode in JSON and returns a JSON containing the time for the given zip code. Microservice hosted by pythonanywhere. To request data you can encode the required zipcode into the URL, for example: http://ecarmona235.pythonanywhere.com/ZipToTime?zipcode=98052 or http://127.0.0.1:5000/ZipToTime?zipcode=98052 if running microservice file in local environment. This call will return the current time in Redmond (98052 = Redmon zip code). The microservice will reply to the request by sending back a JSON file under the header "time". For example at the time of writing this the return would be {"time":"14:36}.
-
Notifications
You must be signed in to change notification settings - Fork 0
ecarmona235/ZipToTime
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Micro service which takes a zipcode in JSON and returns a JSON containing the time for the given zip code.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published