{"id":23255618,"url":"https://github.com/alvaropaco/py-weather-micro-service","last_synced_at":"2025-08-20T12:33:04.796Z","repository":{"id":65651185,"uuid":"163310657","full_name":"alvaropaco/py-weather-micro-service","owner":"alvaropaco","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-08T18:22:28.000Z","size":13,"stargazers_count":33,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-03T23:11:28.784Z","etag":null,"topics":["docker","fault-tolerant","microservice","nameko","python","rabbitmq"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvaropaco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-27T15:36:52.000Z","updated_at":"2023-08-03T23:11:28.784Z","dependencies_parsed_at":"2023-02-02T14:25:10.001Z","dependency_job_id":null,"html_url":"https://github.com/alvaropaco/py-weather-micro-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvaropaco%2Fpy-weather-micro-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvaropaco%2Fpy-weather-micro-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvaropaco%2Fpy-weather-micro-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvaropaco%2Fpy-weather-micro-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvaropaco","download_url":"https://codeload.github.com/alvaropaco/py-weather-micro-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230426207,"owners_count":18223899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","fault-tolerant","microservice","nameko","python","rabbitmq"],"created_at":"2024-12-19T11:28:48.309Z","updated_at":"2024-12-19T11:28:50.687Z","avatar_url":"https://github.com/alvaropaco.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playlists from Weather [![CircleCI](https://circleci.com/gh/alvaropaco/py-weather-micro-service.svg?style=svg)](https://circleci.com/gh/alvaropaco/py-weather-micro-service) [![Maintainability](https://api.codeclimate.com/v1/badges/3fc099559a53bc7800d0/maintainability)](https://codeclimate.com/github/alvaropaco/py-weather-micro-service/maintainability)\n\nTha main goal of this project is retreive a list of Spotify playlist based on current Weather. The Weather is retreived from the Open Weather Map service and filtered by *City* name or *geolocation* coordinates.\n\n### Requeriments\n\n* Docker I/O\n\n### Building\n\nFirstly we need to build the docker image:\n\n`docker build -t ifood .` \n\n### Running\n\nRun command will push up the micro-service:\n\n`docker run -it -v $(pwd):/app -p 5000:5000  ifood ./entrypoint.sh` \n\n### Usage\n\nSimple http call to the service URL:\n\n`curl -X GET 127.0.0.1:5000/playlists?city=new+york -H \"X-SPOTIFY-TOKEN: \u003cspotify-jwt\u003e\" -H\"X-OPENWM-APPID: 504002e265ed827f841600d3259c32ee\"` \n\n### Testing \n\nCan run the API tests:\n\n`docker run -it -v $(pwd):/app -p 5000:5000  ifood ./entrypoint.tests.sh`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvaropaco%2Fpy-weather-micro-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvaropaco%2Fpy-weather-micro-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvaropaco%2Fpy-weather-micro-service/lists"}