Reference Guide
Architecture of meteociel-api
Package structure:
┌───────────┐ ┌──────────┐ │
┌─┤ cities.py │ │ utils.py ├──────────┐ │ Modules for package operation
│ └─────┬─────┘ └───┬──────┘ │ │
│ └──────────┬────────┘ │ │
│─ ─ ─ ─ ─ ─ ─ ─ ─ │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─│─ ─ ─ ─ ─ ─ ─ ─ ─ ─
│ ┌─────────┴────────┐ │ │
│ ┌──────┴───────┐ ┌──────┴──────┐ ┌──────┴───────┐ │
│ │ soundings.py │ │ stations.py │ │ forecasts.py │ │ Data extraction modules
│ └──────┬───────┘ └──────┬──────┘ └──────┬───────┘ │
└────────┴─────────┬────────┴─────────────────┘ │
─ ─ ─ ─ ─ ─ ─ ─ ─ │ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
┌─────┐ │ ┌─────┐ │
│ API ├──────────┴─────────┤ CLI │ │ User interface
└─────┘ └─────┘ │
utils.pyprovides some useful functions tosoundings.py,stations.pyandforecasts.py;cities.pyprovides informations on cities tosoundings.pyandstations.py;soudings.py,stations.pyandforecasts.pyare designed to be used in the API and the CLI;API and CLI are also using
cities.py