https://github.com/tombuildsstuff/towns-api
For use in workshops
https://github.com/tombuildsstuff/towns-api
Last synced: over 1 year ago
JSON representation
For use in workshops
- Host: GitHub
- URL: https://github.com/tombuildsstuff/towns-api
- Owner: tombuildsstuff
- Created: 2016-03-12T22:41:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T12:44:22.000Z (over 10 years ago)
- Last Synced: 2025-02-07T14:46:38.204Z (over 1 year ago)
- Language: Swift
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Towns API
A simple API written in Swift
## Building & Running the Project
This project is built against Swift 3:
```
Swift version 3.0-dev (LLVM b361b0fc05, Clang 11493b0f62, Swift 24a0c3de75)
```
Make is used to Build and Run the project - which you can do via:
```
make
```
## Available Endpoints
**GET /towns**
```
[
{
"name": "Winchester",
"country": "United Kingdom"
},
{
"name": "Sienna",
"country": "Italy"
}
]
```