Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

currentweatherapi

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

currentweatherapi

Getting current data weather from Openweather API

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

This package gets current weather data from Openweather API. It also can render data and create list with weather data in a html file.

It originally creates

  • tags where data shows. All you need to create your own html form (or take from a demo) and give some ID's to:

    • input element to get city name from user: name it as "cityID";
    • give ID "loading" to the progress bar from Bootstrap (div class="progress")
    • create 2 buttons with id's "submit" and "reset"

    You also may use this package just to het data from after ajax request. By default successful ajax request get data from Openweather as "data" object and start renderResults(data) function. You may want to create your own renderResults(data) function.

    This npm package was created as a school assignment. Do not expect to much from it. In case someone find it useful - you are welcome use it. Thanks!

  • Keywords

    FAQs

    Package last updated on 11 Dec 2016

    Did you know?

    Socket

    Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

    Install

    Related posts

    SocketSocket SOC 2 Logo

    Product

    • Package Alerts
    • Integrations
    • Docs
    • Pricing
    • FAQ
    • Roadmap
    • Changelog

    Packages

    npm

    Stay in touch

    Get open source security insights delivered straight into your inbox.


    • Terms
    • Privacy
    • Security

    Made with ⚡️ by Socket Inc