Skip to main content

AFAD'ın resmi web sayfasından son 24 saatte Türkiye'de olan depremleri çeken API

Project description

Son Depremler AFAD API

AFAD'ın resmi web sayfasından son 24 saatte Türkiye'de olan depremleri çeken API.

Nasıl kullanılır:

Paketi kurduktan sonra aşağıdaki import işlemini yapınız:

from app.dosya.depremler import Depremler

"Tarih ve Saat, Konum, Şiddet, Enlem, Boylam, Derinlik" şeklinde olan verileri;

dizi olarak göstermek için -> [['2024-02-25 08:56:38', 'Serik (Antalya)', '2.6', '37.24139', '30.95028', '21.78']]...

depremler = Depremler()
json_veriler = depremler.veriler()

satır satır yazdırmak için -> 2024-02-25 08:56:38 - Serik (Antalya) - 2.6 - 37.24139 - 30.95028 - 21.78

depremler = Depremler()
depremler.duzenli_veriler()

PyPI.org Link:

https://pypi.org/project/son-depremler-afad-api/1.0.0/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

son-depremler-afad-api-1.0.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

son_depremler_afad_api-1.0.1-py3-none-any.whl (2.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page