A Go based SDK to access the public data provided by the Greek Government and are available at https://www.data.gov.gr/
Submit the form found here You will receive by email an API token. You will use it to access the data in the example below
go get github.com/ppapapetrou76/go-data-gov-gr-sdk
or if you are using go modules ( recommended )
go mod download github.com/ppapapetrou76/go-data-gov-gr-sdk
package main
import (
"fmt"
"os"
"time"
"github.com/ppapapetrou76/go-data-gov-gr-sdk/api"
"github.com/ppapapetrou76/go-data-gov-gr-sdk/pkg/vaccination"
)
func main() {
// Fetches the vaccination data for the last 6 days for all areas
client := api.NewClient("<YOUR_API_TOKEN_HERE>")
vaccinationData, err := vaccination.Get(client,
api.NewDefaultGetParams(api.SetDateFrom(time.Now().Add(-fiveDays))),
)
if err != nil {
panic(err)
}
// Filter by a specific region
for _, d := range vaccinationData.FilterByArea("ΘΕΣΣΑΛΟΝΙΚΗΣ") {
fmt.Fprintf(os.Stdout, "Area:%s, Vaccinations on %v:%d\n", d.Area, d.ReferenceDate, d.DayTotal)
}
}
- COVID-19 vaccination statistics ( https://www.data.gov.gr/datasets/mdg_emvolio )
- Business and Economy (Small businesses, industry, imports, exports and trade)
- Crime and Justice (Courts, police, prison, offenders, borders and immigration)
- Education (Students, training, universities, quaifications)
- Environment (Weather, flooding, rivers, air quality, geology and agriculture)
- Health (Includes smoking, drugs, alcohol, medicine performance and hospitals)
- Society (Employment, benefits, household finances, poverty and population)
- Technology (Internet, technology and digital adoption)
- Telecommunication (Telecommunications data, television and radio)
- Transport (Airports, roads, freight, electric vehicles, parking, buses and footpaths)
- Python https://github.com/ilias-ant/pydatagovgr
- Java
- Javascript
- C++
- C#