Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orta/OctoDog
A Swift PM module for accessing the GitHub API
https://github.com/orta/OctoDog
Last synced: about 2 months ago
JSON representation
A Swift PM module for accessing the GitHub API
- Host: GitHub
- URL: https://github.com/orta/OctoDog
- Owner: orta
- License: mit
- Created: 2019-01-12T18:02:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T18:14:40.000Z (over 5 years ago)
- Last Synced: 2024-04-04T18:33:36.092Z (6 months ago)
- Language: Swift
- Size: 221 KB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OctoDog
An auto-generated version of the GitHub v3 API which
uses [octokit/routes](https://github.com/octokit/routes) to
make a scripting friendly (e.g. *synchronous*) Swift GitHub client.### Working on this
A lot of the work actually happens in TypeScript. Why? Because
JavaScript is a language better suited for manipulating JSON.```sh
git clone https://github.com/orta/OctoDog
cd OctoDog# make sure node is installed, and yarn
# brew install yarn
yarn install# Grab the latest version of the routes
yarn update-json
# Generate the SPM module from the routes
yarn generate-from-json
```#### Deploying
Run `swift run rocket $VERSION` on `master` e.g. `swift run rocket 1.0.0`