API for swiftenv to return the available versions of Swift.
An instance of the API is deployed at https://swiftenv-api.fuller.li/.
Returns the available versions of Swift.
-
Parameters
- snapshots: false (boolean) - Used to filter for snapshot versions.
- platform: osx - Filter for versions that have binary releases for the given platform.
-
Response 200 (text/plain)
2.2 2.2.1
You can configure a development environment with the following:
NOTE: These steps assume you have Python 3.6 (or newer) installed.
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install -r dev-requirements.txt
$ python -m unittest
$ python api.py
$ python extract.py