/kandilli

Kandilli last earthquakes api

Primary LanguagePythonMIT LicenseMIT

Kandilli API

Latest Version Downloads Download format Supported Python versions License Build Status

Simple kandilli last earthquakes api.

Installation

pip install kandilli

Usage

from kandilli import LastEarthquakes

api = LastEarthquakes(10)
print api.data[0]

api.refresh()
print api.data[0]

api.many = 25
api.refresh()
print api.data[0]

api.many = 250
for data in api:
    print data['yer']