Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paulo-lopes-estevao/enza-api
Api shows various data from the countries of the world
https://github.com/paulo-lopes-estevao/enza-api
api apiworld country countryapi golang world
Last synced: about 2 months ago
JSON representation
Api shows various data from the countries of the world
- Host: GitHub
- URL: https://github.com/paulo-lopes-estevao/enza-api
- Owner: Paulo-Lopes-Estevao
- Created: 2021-09-01T00:52:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T07:47:31.000Z (about 3 years ago)
- Last Synced: 2023-07-12T08:48:15.344Z (over 1 year ago)
- Topics: api, apiworld, country, countryapi, golang, world
- Language: Go
- Homepage:
- Size: 66.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Microservice API Enza
Enza API é um projeto totalmente grátuito e tem como objectivo apresentar informações dos Paises por *Continentes*.
- Desenvolvido em `Golang` ela apresenta nformações como :
- Nome do Pais
- Bandeira
- Mapa
- Capital
- Moeda
- Idioma
- População
- Codigo telefonico## Endpoints
| Method | Endpoint | Description | BP | QP |
| :---: | :---: | :---: | :---: | :---: |
| GET | /v1/coutry | It returns the details of all countries |
| GET | /v1/coutry/{name} | It returns the details of the referred country |## Response
```json
{
"Flag" : string,
"Location" : string,
"Keywords" : []string,
"Name" : string,
"Capital" : string,
"Population" : float64,
"Area" : float64,
"Callingcode" : string,
}
```## JSON data response
> Example List `/v1/africa`
```json
{
"flag": "",
"location": "",
"keywords": [""],
"name": "",
"capital": "",
"currency": "",
"language": "",
"population": 0,
"area": 0,
"callingcode": ""
}
```---
© 2021 Paulo-Lopes-Estevao