{"id":13596143,"url":"https://github.com/jamesseanwright/ron-swanson-quotes","last_synced_at":"2025-04-06T18:14:33.435Z","repository":{"id":25831394,"uuid":"29270764","full_name":"jamesseanwright/ron-swanson-quotes","owner":"jamesseanwright","description":"Node.js server for providing Ron Swanson quotes","archived":false,"fork":false,"pushed_at":"2022-12-10T16:34:13.000Z","size":83,"stargazers_count":301,"open_issues_count":3,"forks_count":39,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-30T15:12:19.155Z","etag":null,"topics":["parks-and-recreation","quotes","ron-swanson"],"latest_commit_sha":null,"homepage":"https://ron-swanson-quotes.herokuapp.com/v2/quotes","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesseanwright.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-14T23:16:52.000Z","updated_at":"2025-03-20T22:06:50.000Z","dependencies_parsed_at":"2023-01-14T03:30:53.733Z","dependency_job_id":null,"html_url":"https://github.com/jamesseanwright/ron-swanson-quotes","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesseanwright%2Fron-swanson-quotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesseanwright%2Fron-swanson-quotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesseanwright%2Fron-swanson-quotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesseanwright%2Fron-swanson-quotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesseanwright","download_url":"https://codeload.github.com/jamesseanwright/ron-swanson-quotes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526763,"owners_count":20953143,"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":["parks-and-recreation","quotes","ron-swanson"],"created_at":"2024-08-01T16:02:09.775Z","updated_at":"2025-04-06T18:14:33.411Z","avatar_url":"https://github.com/jamesseanwright.png","language":"TypeScript","funding_links":[],"categories":["Index","APIs","TypeScript"],"sub_categories":["Video","Data:"],"readme":"# Ron Swanson quotes API\n\nBecause Ron Swanson is a hero. Just a ridiculously simple Node.js server.\n\n## Production host\n\n[https://ron-swanson-quotes.herokuapp.com/v2/quotes](http://ron-swanson-quotes.herokuapp.com/v2/quotes)\n\nThe `Access-Control-Allow-Origin` header is set to `*` so that you can make requests from any domain.\n\n## APIs\n\n### `GET /v2/quotes`\n\nReturns an array with one quote:\n\n```json\n[\n    \"Capitalism: God’s way of determining who is smart and who is poor.\"\n]\n```\n\n### `GET /v2/quotes/\u003ccount\u003e`\n\nReturns an array with `\u003ccount\u003e` quotes e.g. `GET /quotes/2`\n\n```json\n[\n    \"Capitalism: God’s way of determining who is smart and who is poor.\",\n    \"Clear alcohols are for rich women on diets.\"\n]\n```\n\n### `GET /v2/quotes/search/\u003cterm\u003e`\n\nReturns an array of quotes matching `\u003cterm\u003e` without case sensitivity e.g. `GET /quotes/search/hate`\n\n```json\n[\n    \"There's only one thing I hate more than lying: skim milk. Which is water that's lying about being milk.\",\n    \"I hate everything.\"\n]\n```\n\n## OpenAPI 3 Schema\n\nAn [OpenAPI](https://swagger.io/docs/specification/about/) 3 schema is available at `/v2/schema`. Thanks to [Chris Gali](https://github.com/chrisgali01) for the suggestion and the initial draft.\n\n## JavaScript demo\n\n[JSFiddle](http://jsfiddle.net/7g2w4dhc/27/) (requires a browser with support for `Promise`s, ES6, `fetch`, and generator functions.)\n\n## Hubot integration\n\nI wrote a Hubot script that can be installed via npm. See the [repo](https://github.com/jamesseanwright/hubot-swanson) for more details.\n\n## Local development\n\nOnce you've cloned this repo, run `npm i` to install the dependencies.\n\nThen you can run:\n\n* `npm run build`: builds the TypeScript source code\n* `npm start`: runs the compiled server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesseanwright%2Fron-swanson-quotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesseanwright%2Fron-swanson-quotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesseanwright%2Fron-swanson-quotes/lists"}