0.0.78 • Published 6 months ago

weather-turkey v0.0.78

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Modül İndirme:

  npm install weather-turkey

Örnek Kullanım:

const weather = require('weather-turkey')
const date = () => new Date()

console.log(date(), 'System opened!')

weather({ search: 'kartepe', days: 10 })
    .then((data) => console.log(data))

Örnek Çıktı:

{
  city: 'Kocaeli',
  county: 'Kartepe',
  daily: [
    {
        timestamp: 1691874000000,
        date: '13.08.2023',
        temperature: {
            value: 22.35,
            max: 24.03,
            min: 21.32,
            felt: {
                value: 30,
                text: 'Sıcak bir hava... Sıvı ihtiyacınızı karşılamayı unutmayın!'
            },
            unit: { long: 'Celcius', short: 'C' }
        },
        humidity: { value: 88.64, unit: { long: 'Percentile', short: '%' } },
        pressure: { value: 1013.73, unit: { long: 'Hektopaskal', short: 'hPa' } },
        rains: { value: 0.06, unit: { long: 'Millimeter', short: 'mm' } },
        closeness: { value: 97.02, unit: { long: 'Percentile', short: '%' } },
        wind: {
            speed: 10.97,
            direction: { degree: 57.95, text: 'Kuzeydoğu' },
            unit: { long: 'Kilometer per hour', short: 'km/h' }
        },
        status: {
            text: 'Kapalı',
            icon: 'https://meteoroloji.boun.edu.tr/files/img/durumlar/kapali.png'
        },
        measurements: [
            {
                timestamp: 1691874000000,
                date: '13.08.2023',
                time: '00:00:00',
                temperature: {...},
                humidity: {...},
                pressure: {...},
                rains: {...},
                closeness: {...},
                wind: {...},
                status: {...}
            }
            {... /* Toplam sekiz ölçüm verisi */},
        ]
    },
    {... /* Toplam 10 günlük veri */}
  ]
}

ISC License

Geri Bildirim

E-posta: me@cihatksm.com adresinden bana ulaşın. Boğaziçi Üniversitesi Kandilli Rasathanesi ve D.A.E Meteroloji Laboratuvarı verileri kullanılarak hazırlanmıştır. Herhangi bir sorun teşkil ediyorsa, problem oluşturuyorsa ya da oluşturduysa önce tarafıma bilgi verilmesi rica olunur.

0.0.78

6 months ago

0.0.75

9 months ago

0.0.76

7 months ago

0.0.77

7 months ago

0.0.73

1 year ago

0.0.72

1 year ago

0.0.71

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago