1.0.2 • Published 5 years ago

@kilimanjaare/open-weather v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 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

5 years ago

1.0.1

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago