|
|
# Webservices library
|
|
|
With this library you can get information about quakes, getting data from FDSN webservices.
|
|
|
|
|
|
You can search quakes filtering by:
|
|
|
- Event ID (int unique event -earthquake- identifier)
|
|
|
- DateTime range (Datetime min -> Datetime max)
|
|
|
- Geographical selection - BoundingBox (Lat/Lon min -> Lat/Lon max)
|
|
|
- Geographical selection - Radius (Lat/Lon + Radius min -> max)
|
|
|
- Magnitude range (Magnitude min -> Magnitude max)
|
|
|
- Depth range (Depth min -> Depth max)
|
|
|
|
|
|
except search by Event ID, you can combine all of them.
|
|
|
|
|
|
The library returns the list of quakes found and all their details.
|
|
|
|
|
|
# Install and autoload library
|
|
|
## Via composer
|
|
|
```sh
|
|
|
composer require fdsn/webservices-library
|
|
|
```
|
|
|
and it's dependencies.
|
|
|
|
|
|
Include library directly via autoload:
|
|
|
```php
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Implemented status
|
|
|
See every page for usage
|
|
|
|
|
|
- [X] [Catalogs](catalogs)
|
|
|
- [X] [Contributors](contributors)
|
|
|
- [X] [Version](version)
|
|
|
- [ ] [Event](event)
|
|
|
- [X] [Text format](event/text)
|
|
|
- [ ] [QuakeML format](event/quakeml) |
|
|
\ No newline at end of file |