Giter Site home page Giter Site logo

ramazansancar / kandilli-rasathanesi-api-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orhanayd/kandilli-rasathanesi-api

1.0 0.0 0.0 13.59 MB

Kandilli rasathanesinin son dakika depremler ve tarihe göre deprem listesi için ara API (last minute earthquakes in turkey)

Home Page: https://api.orhanaydogdu.com.tr/deprem/api-docs/

License: MIT License

JavaScript 100.00%

kandilli-rasathanesi-api-js's Introduction

Kandilli Rasathanesi API

Kandilli Rasathanesi'nin yayınladığı son depremler listesi için API. (last minute earthquakes in turkey parsing from Kandilli Observatory XML)

API DOC:

https://api.orhanaydogdu.com.tr/deprem/api-docs/

Özellikleri:

  • GeoJson ile haritaya kolay aktırabilir,
  • Depremin nerede olduğunu,
  • Deprem noktasına en yakın il sınırı bilgisi,
  • Deprem noktasına yakın Havalimanları ve Uzaklıkları
  • Depremin zaman bilgileri ve depreme özel ID.
  • Tarih bazlı deprem listesi

Endpoint kullanım detayları için Dökümanı ziyaret etmeyi unutmayın :)

Örnek cevap:
{
	"earthquake_id": "EoIrMsfMSC19f", -> benzersiz deprem id
	"provider": "kandilli", -> deprem bilgi sağlayıcı
	"title": "CALIS-ELBISTAN (KAHRAMANMARAS)", -> sağlayıcı tarafından belirlenen başlık
	"date": "2023.03.08 02:54:44", -> deprem zaman bilgisi
	"mag": 2, -> deprem büyüklüğü
	"depth": 5, -> deprem derinliği
	"geojson": { -> depremin konum noktası
		"type": "Point",
		"coordinates": [37.0132, 38.1355] (long, lat)
	},
	"location_properties": { -> deprem konum noktası detayları
		"closestCity": { -> depreme en yakın sınırı bulunan şehir
			"name": "Malatya", -> şehir adı
			"cityCode": 44, -> şehir plaka kodu
			"distance": 107595.23337847003, -> deprem noktasına uzaklığı km
			"population": 812580 -> ilgili şehrin nüfusu
		},
		"epiCenter": { -> depremin yaşandığı bölge
			"name": "Kahramanmaraş", -> depremin yaşandığı şehir / null gelebilir
			"cityCode": 46, -> şehirin plaka kodu
			"population": 1177436 -> şehirin nufüsü
		},
		"closestCities": [{ -> deprem noktasına yakın diğer şehirler
			"name": "Malatya",
			"cityCode": 44,
			"distance": 107595.23337847003,
			"population": 812580
		}, {
			"name": "Kayseri",
			"cityCode": 38,
			"distance": 108413.76040441653,
			"population": 1441523
		}, {
			"name": "Osmaniye",
			"cityCode": 80,
			"distance": 112348.6815543367,
			"population": 559405
		}, {
			"name": "Gaziantep",
			"cityCode": 27,
			"distance": 116916.3602226536,
			"population": 2154051
		}, {
			"name": "Adıyaman",
			"cityCode": 2,
			"distance": 120785.66951649316,
			"population": 635169
		}],
		"airports": [{ -> depreme yakıun havalimanları
			"distance": 66757.09191032092, -> depremin yaşandığı noktaya uzaklığı
			"name": "Kahramanmaraş Havalimanı",
			"code": "KCM",
			"coordinates": {
				"type": "Point",
				"coordinates": [36.9473, 37.5374] (long, lat)
			}
		}, {
			"distance": 99806.23459651197,
			"name": "Erhaç Havalimanı",
			"code": "MLX",
			"coordinates": {
				"type": "Point",
				"coordinates": [38.091, 38.4354]
			}
		}, {
			"distance": 135359.60289478218,
			"name": "Adıyaman Havalimanı",
			"code": "ADF",
			"coordinates": {
				"type": "Point",
				"coordinates": [38.4691, 37.7314]
			}
		}]
	},
	"rev": null, -> null değilse revize edilmiş bir deprem bilgisi
	"date_time": "2023-03-08 02:54:44", -> date time YYYY-MM-DD HH:mm:ss
	"created_at": 1678240484, -> unix timestamp
	"location_tz": "Europe/Istanbul" -1 statik bilgi
}

Not

Ticari amaçlı kullanmak isteyenlere: "Söz konusu bilgi, veri ve haritalar Boğaziçi Üniversitesi Rektörlüğü’nün yazılı izni ve onayı olmadan herhangi bir şekilde ticari amaçlı kullanılamaz." - İsteklerinizi veya sorularınızı [email protected] den iletebilirsiniz.

kandilli-rasathanesi-api-js's People

Contributors

orhanayd avatar ozgurg avatar

Stargazers

Jeff Snow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.