{"id":17080552,"url":"https://github.com/kylef/swiftenv-api","last_synced_at":"2025-04-12T21:11:01.838Z","repository":{"id":46087063,"uuid":"59538346","full_name":"kylef/swiftenv-api","owner":"kylef","description":"API for swiftenv to return the available versions of Swift","archived":false,"fork":false,"pushed_at":"2023-05-01T21:36:53.000Z","size":1303,"stargazers_count":25,"open_issues_count":12,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-06T06:32:04.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://swiftenv-api.fuller.li/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kylef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-24T03:43:27.000Z","updated_at":"2022-05-20T05:25:31.000Z","dependencies_parsed_at":"2023-01-18T19:02:25.518Z","dependency_job_id":null,"html_url":"https://github.com/kylef/swiftenv-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fswiftenv-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fswiftenv-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fswiftenv-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylef%2Fswiftenv-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylef","download_url":"https://codeload.github.com/kylef/swiftenv-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631676,"owners_count":21136562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T12:45:23.684Z","updated_at":"2025-04-12T21:11:01.800Z","avatar_url":"https://github.com/kylef.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift Version API\n\nAPI for [swiftenv](https://swiftenv.fuller.li/) to return the available\nversions of Swift.\n\nAn instance of the API is deployed at https://swiftenv-api.fuller.li/.\n\n## Versions [/versions{snapshots,platform}]\n\nReturns the available versions of Swift.\n\n+ Parameters\n    + snapshots: false (boolean) - Used to filter for snapshot versions.\n    + platform: osx - Filter for versions that have binary releases for the given platform.\n\n+ Response 200 (text/plain)\n\n        2.2\n        2.2.1\n\n## Development Environment\n\nYou can configure a development environment with the following:\n\n**NOTE**: *These steps assume you have Python 3.6 (or newer) installed.*\n\n```bash\n$ python3 -m venv venv\n$ source venv/bin/activate\n$ pip install -r requirements.txt\n$ pip install -r dev-requirements.txt\n```\n\n### Running the tests\n\n```shell\n$ python -m unittest\n```\n\n### Running the development server\n\n```shell\n$ python api.py\n```\n\n### Updating versions\n\n```shell\n$ python extract.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef%2Fswiftenv-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylef%2Fswiftenv-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylef%2Fswiftenv-api/lists"}