1.0.2 • Published 4 years ago

@kilimanjaare/open-weather v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

OpenWeather Angular Client

This library provides Angular client bindings to the OpenWeather service.

Setup

Import OpenWeatherModule inside your module

import {OpenWeatherModule} from '@kilimanjaare/open-weather';
import {NgModule} from '@angular/core';

@NgModule({
  imports: [
      OpenWeatherModule.forRoot({
        apiKey: 'your-api-key',
        apiUrl: 'your-api-url'
      })
  ]
})

Usage

Inject OpenWeatherService in your class

import {OpenWeatherService} from '@kiliemanjaare/open-weather';

export class TestComponent {
  constructor(
    private openWeatherService: OpenWeatherService
  ) {
  }
}
1.0.2

4 years ago

1.0.1

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago