Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 2.1 KB

README.md

File metadata and controls

57 lines (41 loc) · 2.1 KB

go-datagovgr

License: MIT GoDoc codecov goReportCard

A Golang SDK client to access the available open data from data.gov.gr, provided by the Greek government.

Getting started

API Token

First you need to obtain an API Token to access and use the web services of the data.gov.gr developer network. You can get one here.

Install

$ go get github.com/chanioxaris/go-datagovgr

Endpoints

The client supports the following endpoints derived by topic:

Usage

package main

import (
	"github.com/chanioxaris/go-datagovgr/datagovgr"
)

const token = "<YOUR_API_TOKEN>"

func main() {
	c, err := datagovgr.NewClient(token)
	if err != nil {
		// Handle error
	}
	
	// Retrieve and access data
	...
}

License

go-datagovgr is MIT licensed.