{"id":14976054,"url":"https://github.com/konstantinruge/graphql-weather-api","last_synced_at":"2025-10-27T17:30:41.320Z","repository":{"id":47261923,"uuid":"286037091","full_name":"konstantinmuenster/graphql-weather-api","owner":"konstantinmuenster","description":"A GraphQL wrapper for the Open Weather Map API","archived":false,"fork":false,"pushed_at":"2020-08-08T13:10:42.000Z","size":40,"stargazers_count":31,"open_issues_count":0,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-28T21:23:40.439Z","etag":null,"topics":["apollo-server","graphql","graphql-api","open-weather-map-api","weather-api"],"latest_commit_sha":null,"homepage":"https://graphql-weather-api.herokuapp.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/konstantinmuenster.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-08T12:15:09.000Z","updated_at":"2024-03-24T17:32:39.000Z","dependencies_parsed_at":"2022-09-03T20:02:02.017Z","dependency_job_id":null,"html_url":"https://github.com/konstantinmuenster/graphql-weather-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstantinmuenster%2Fgraphql-weather-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstantinmuenster%2Fgraphql-weather-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstantinmuenster%2Fgraphql-weather-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konstantinmuenster%2Fgraphql-weather-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konstantinmuenster","download_url":"https://codeload.github.com/konstantinmuenster/graphql-weather-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219860931,"owners_count":16556009,"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":["apollo-server","graphql","graphql-api","open-weather-map-api","weather-api"],"created_at":"2024-09-24T13:53:13.808Z","updated_at":"2025-10-27T17:30:35.964Z","avatar_url":"https://github.com/konstantinmuenster.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌦️ GraphQL Weather API\n#### A GraphQL Wrapper for the [Open Weather Map API](https://openweathermap.org/api)\n\nRetrieve the current weather for any given city. Since this GraphQL API uses the free-tier of the Open Weather Map API, it is restricted to 60 calls/minute. \n\nHowever, feel free to use it for prototyping and demo projects anyways. A live version is available at:\n\n[graphql-weather-api.herokuapp.com](https://graphql-weather-api.herokuapp.com/) 🌈\n\n## How to Use\n\n#### Queries\n\n* getCityByName (`name` *required*, `country` *optional*, `config` *optional*)\n* getCityById (`id` *required*, , `config` *optional*)\n\n*Language and unit system can be specified via `config`.*\n\n#### Example with all weather data\n\n```graphql\nquery {\n  getCityByName(name: \"Gothenburg\") {\n    id\n    name\n    country\n    coord {\n      lon\n      lat\n    }\n    weather {\n      summary {\n        title\n        description\n        icon\n      }\n      temperature {\n        actual\n        feelsLike\n        min\n        max\n      }\n      wind {\n        speed\n        deg\n      }\n      clouds {\n        all\n        visibility\n        humidity\n      }\n      timestamp\n    }\n  }\n}\n```\n\n## How to Install\n\nFor running this project locally, you must register your own application at [Open Weather Map](https://openweathermap.org/api). Then, create an .env file and add the following variable: `KEY=\u003cYOUR-APP-ID\u003e`\n\n```sh\nnpm install\nnpm run dev # Using nodemon for auto-reloading\n```\nThe server starts at http://localhost:4000/\n\n\n## About\n\nKonstantin Münster – [konstantin.digital](https://konstantin.digital) – [mail@konstantin.digital](mailto:mail@konstantin.digital)\n\nDistributed under the [MIT](http://showalicense.com/?fullname=Konstantin+M%C3%BCnster\u0026year=2019#license-mit) license. \nSee ``LICENSE`` for more information.\n\n[https://github.com/konstantinmuenster](https://github.com/konstantinmuenster)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonstantinruge%2Fgraphql-weather-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonstantinruge%2Fgraphql-weather-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonstantinruge%2Fgraphql-weather-api/lists"}