{"_id":"@alisherbegmatov/weather-api","_rev":"1-051372417862ae5f1febd2acb765be04","name":"@alisherbegmatov/weather-api","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alisherbegmatov/weather-api","version":"1.0.0","description":"![npm](https://img.shields.io/npm/v/@alisherbegmatov/date-lib) ![NPM](https://img.shields.io/npm/l/@alisherbegmatov/date-lib) ![GitHub repo size](https://img.shields.io/github/repo-size/alisherbegmatov/date-lib) ![GitHub issues](https://img.shields.io/git","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/alisherbegmatov/weather-api.git"},"keywords":[],"author":"","license":"ISC","bugs":{"url":"https://github.com/alisherbegmatov/weather-api/issues"},"homepage":"https://github.com/alisherbegmatov/weather-api#readme","gitHead":"3d632d15e7313694bf4db0ef2a4f4bece334d376","_id":"@alisherbegmatov/weather-api@1.0.0","_nodeVersion":"15.13.0","_npmVersion":"7.8.0","dist":{"integrity":"sha512-9tsE9Yt5hW89T57wLWhZ6s2rPsrYkEln73CIJZ2TpPlOyJ/wCPJNZvnHP927nAl8bVK3IMtOwsQWKpXe2K6cTw==","shasum":"d22910f99a02452d2aec687ca3b9f7a046b3b77e","tarball":"https://registry.npmjs.org/@alisherbegmatov/weather-api/-/weather-api-1.0.0.tgz","fileCount":9,"unpackedSize":7453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJggL+3CRA9TVsSAnZWagAAk3kQAJzNx/rUUOMaH/1/nJ83\n5SFHgyatY2Q8DS6VMvwXG8a7jZMuEfL4YNg8r5ZX8QNlU48uc3hUcb4CShFT\nn+vDbK7auar3MjbqXFdiZxSa2Icu+hWJywCwj6e/fxJZo7Os8dx3mtPmd2Ky\n0XB1fBk0g4bqEueStOdKNfH8ZRHaRWyn5SEfL8fTXAGIziXGbSPuD6QQaFsv\nq/urs7yoLzeujdLO0pInJpcnTY4lLbrvIr9j1wa7t/CDLJmiMzlKckWF6tcK\n+RC02vOKU/z/HdYeBjuoZWyAKV8jq9vDavuz5q6QMR0fs+JZArgxPLnDRqxU\n2pdjP57CPfup60yb12xm3sEI5on0jhrOgsOOIsE+fXMGBetfEJyL7OmbzjLK\nA+8U0Ft0y4QdeFw3hTpuF5+pIi4EWHqemdSQVhlZ0hR8i+HlHfpP4ibAthDE\nrf9NGBkfW358fwuw0iI83oky5GwFm/yX0+fmpjYzjYhj80ACOSgzLqyBmFE1\nrwQ9LjvY+RBSXnPXDz2VRu5xO0lZJ58wWuoeBSBGnF27yUjfbxGaKuVbtVAc\nHnRc9tTTDdF7iG0GyImQyJk+mMHyrHRHNVlgew37Uv/XTHpAJLbY6NgQVZIH\nDzC7X20I/XrDI9SfExwHdcWcOR6e6INyepOTijA7k4z4Zy0BkTL4uuTSextG\nH3l6\r\n=/DJQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXTyzVpdeP72CSO1E70yLyK3opJvCcoUClEPABAxg8vQIgVBhTbxz8HDEeT+HUJ9zdZ3iXIXNqUzG8KO/86GXbRDo="}]},"_npmUser":{"name":"alisherbegmatov","email":"alisher.begmatov@students.makeschool.com"},"directories":{},"maintainers":[{"name":"alisherbegmatov","email":"alisher.begmatov@students.makeschool.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/weather-api_1.0.0_1619050422708_0.7126747308827677"},"_hasShrinkwrap":false}},"time":{"created":"2021-04-22T00:13:42.671Z","1.0.0":"2021-04-22T00:13:42.852Z","modified":"2022-04-04T13:27:45.738Z"},"maintainers":[{"name":"alisherbegmatov","email":"alisher.begmatov@students.makeschool.com"}],"description":"![npm](https://img.shields.io/npm/v/@alisherbegmatov/date-lib) ![NPM](https://img.shields.io/npm/l/@alisherbegmatov/date-lib) ![GitHub repo size](https://img.shields.io/github/repo-size/alisherbegmatov/date-lib) ![GitHub issues](https://img.shields.io/git","homepage":"https://github.com/alisherbegmatov/weather-api#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/alisherbegmatov/weather-api.git"},"bugs":{"url":"https://github.com/alisherbegmatov/weather-api/issues"},"license":"ISC","readme":"# Weather API\n\n![npm](https://img.shields.io/npm/v/@alisherbegmatov/weather-api)\n![NPM](https://img.shields.io/npm/l/@alisherbegmatov/weather-api)\n![GitHub repo size](https://img.shields.io/github/repo-size/alisherbegmatov/date-lib)\n![GitHub issues](https://img.shields.io/github/issues/alisherbegmatov/date-lib)\n\n## Description\n\n### A library that can be used by anyone who wants to use the OpenWeatherMap API in any project they might create.\n\nthis repository is powered by [Open Weather Map API](https://openweathermap.org).\n\n1. **`getWeatherByZip()`** allows searching by zip code.\n\n- `(params)` are:\n- `zip`: A 5 digit USA based zip code\n- `apiKey`: You will need to input your own API Key for your project.\n- `units`: No entry will default to 'imperial', but options are 'metric' or 'kelvin'\n\n2. **`getWeatherByCity()`** allows searching by city name.\n\n- `params` are:\n- `city`: City Name\n- `apiKey`: Your API Key\n- `units`\n\n3. **`getWeatherByGeo()`** allows searching with Latitude & Longitude.\n\n- `params` are:\n- `lat`: Latitude\n- `lon`: Longitude\n- `apiKey`: Your API Key\n- `units`\n","readmeFilename":"README.md"}