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

https://github.com/tombuildsstuff/towns-api-vapor


https://github.com/tombuildsstuff/towns-api-vapor

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Towns API

This is an implementation of the Towns API using Swift's [Vapor web framework](http://vapor.codes)

## Endpoints

*HTTP GET:* `/towns/all`
```
[
{
"country": "England",
"name": "Winchester"
},
{
"country": "Germany",
"name": "Berlin"
},
{
"country": "Italy",
"name": "Sienna"
},
{
"country": "The Netherlands",
"name": "Amsterdam"
},
{
"country": "Cuba",
"name": "Havana"
}
]
```