An open API service indexing awesome lists of open source software.

https://github.com/humbertodias/go-nie-api

Simple API that crawles the website sede.administracionespublicas.gob.es and publish the offices and procedures that each one can deal with.
https://github.com/humbertodias/go-nie-api

golang rest-api

Last synced: 5 days ago
JSON representation

Simple API that crawles the website sede.administracionespublicas.gob.es and publish the offices and procedures that each one can deal with.

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.org/humbertodias/go-nie-api.svg?branch=master)](https://travis-ci.org/humbertodias/go-nie-api)

# API using GO

Simple API that crawles the website [sede.administracionespublicas.gob.es](https://sede.administracionespublicas.gob.es) and publish the offices and procedures that each one can deal with.

Published on [https://nie-api.herokuapp.com](https://nie-api.herokuapp.com)

# Install

REPO_URL=github.com/humbertodias/go-nie-api
go get $REPO_URL && go install $REPO_URL

# Run

go-nie-api

# Api

http://localhost:8080/provincias

![](doc/provincias.png)

http://localhost:8080/tramites

![](doc/tramites.png)

http://localhost:8080/oficinas

![](doc/oficinas.png)

Using docker

make docker-build
make docker-run

# Ref

* [building-a-web-http-server-with-go](https://itnext.io/building-a-web-http-server-with-go-6554029b4079)

* [Calculating the NIF/NIE check digit](https://www.ordenacionjuego.es/en/calculo-digito-control)

* [BTDNIT3R](https://better-dni.netlify.com)