data_gov_gr library

An unofficial, type-safe, and modular Dart SDK for the Greek Government Open Data API (data.gov.gr).

Classes

BusinessService
A service for fetching business and financial data (debts, budget, revenue) from data.gov.gr.
DataGovClient
The main client for interacting with the Greek Government Open Data API (data.gov.gr).
DataGovMockClient
A mock client for testing the data.gov.gr SDK offline.
DatasetMetadata
Represents the metadata of a dataset on data.gov.gr.
DiscoveryService
A service for discovering datasets, metadata, topics, and publishers/providers on data.gov.gr.
EducationService
A service for fetching education-related metrics (e.g. university statistics) from data.gov.gr.
EnvironmentService
A service for fetching environmental data (e.g. forest fire records) from data.gov.gr.
ForestFire
Represents details of a recorded forest fire incident in Greece.
FuelQueryBuilder
A builder class for constructing and executing fuel price queries with filters.
FuelService
A service for querying fuel station data and fuel price statistics from data.gov.gr.
FuelStation
Represents a fuel station and the price of a specific fuel type.
FuelTypeConverter
A JSON converter for mapping fuel type labels to FuelType enum values.
GenericService
A service that allows querying any dynamic or custom dataset identifier on data.gov.gr.
HealthService
A service for fetching health-related data (e.g. vaccination statistics) from data.gov.gr.
InternetTraffic
Represents GR-IX internet traffic volume statistics for a specific date.
JusticeService
A service for fetching safety, crime, and road accident statistics from data.gov.gr.
MockData
Mock data utility for testing and demonstration purposes.
PrefectureConverter
A JSON converter for mapping prefecture names to Prefecture enum values.
PrefectureFuelPrice
Represents the minimum, maximum, and average fuel prices in a prefecture.
ProcurementDecision
Represents a procurement decision published on KIMDIS (Greek Government Procurement Portal).
ProcurementService
A service for fetching government procurement and contract decisions (KIMDIS) from data.gov.gr.
RateLimitStatus
Represents the current rate limit status for the data.gov.gr API.
SocietyService
A service for fetching societal metrics (employment and unemployment statistics) from data.gov.gr.
TechnologyService
A service for fetching technology adoption and digital governance statistics from data.gov.gr.
TelecomService
A service for fetching telecommunication and internet traffic data (e.g. GR-IX traffic) from data.gov.gr.
Transliteration
A utility class for transliterating Greek characters to Latin characters.
TransportService
A service for fetching public transport and airport traffic statistics from data.gov.gr.
VaccinationData
Represents daily and cumulative COVID-19 vaccination statistics for a specific area in Greece.

Enums

FuelType
Represents the various types of fuel available in Greece.
Prefecture
Represents the 51 prefectures of Greece used for filtering datasets.

Extensions

FuelTypeX on FuelType
Extension methods for FuelType.
PrefectureX on Prefecture
Extension methods for Prefecture.

Exceptions / Errors

DataGovException
Base class for all exceptions thrown by the data.gov.gr SDK.
NetworkException
Exception thrown when there is a network-level failure.
RateLimitException
Exception thrown when the API rate limit is exceeded.
ServerException
Exception thrown when the server returns an internal error.
UnauthorizedException
Exception thrown when the API request is unauthorized (invalid or missing API key).
UnknownException
Exception thrown for any unhandled or unknown failures.