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.
- Host: GitHub
- URL: https://github.com/humbertodias/go-nie-api
- Owner: humbertodias
- Created: 2018-12-23T10:47:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T23:16:05.000Z (over 7 years ago)
- Last Synced: 2025-12-23T08:59:39.360Z (7 months ago)
- Topics: golang, rest-api
- Language: Go
- Homepage:
- Size: 1.41 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](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

http://localhost:8080/tramites

http://localhost:8080/oficinas

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)