Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

A web component widget to show the weather from a zip code

Notifications You must be signed in to change notification settings

Ecleptic/ecleptic-web-weather-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


A Basic web component that pulls the weather from openweathermap.org

This was written for intended use in React libraries, but should work for everything. You place the zip and APIKEY as props into the component and it should pull the data and show the weather and city name.


Required Props: APIKEY, ZIP Required Peer Dependencies: npm (scoped) npm bundle size (minified) install size

Required props: APIKEY, ZIP

Usage:

import  'ecleptic-web-weather-component'

function App(){
  ...

  <ecleptic-web-weather-component zip={ZIP} APIKEY={APIKEY}></ecleptic-web-weather-component>

  ...
}
export default App

[0.0.3] - 2019-04-28

Updated Readme

  • Added readme and API usage

[0.0.2] - 2019-04-24

Initial Public Commit

  • Created Basic API Props needing ZIP & API token

About

A web component widget to show the weather from a zip code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published