ecleptic-web-weather-component
v0.0.3
Published
Web Component to get weather.
Downloads
19
Maintainers
Readme
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
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