{"id":13414632,"url":"https://kinduff.github.io/dog-api/","last_synced_at":"2025-03-14T22:31:59.237Z","repository":{"id":11806345,"uuid":"69831688","full_name":"kinduff/dog-api","owner":"kinduff","description":":no_entry: [DEPRECATED] Dog API provides dog facts as a service.","archived":true,"fork":false,"pushed_at":"2022-12-14T08:35:24.000Z","size":100,"stargazers_count":72,"open_issues_count":2,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-31T21:53:11.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dogapi.dog","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kinduff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"kinduff","ko_fi":"kinduff","liberapay":"kinduff"}},"created_at":"2016-10-03T01:02:49.000Z","updated_at":"2024-04-05T16:06:21.000Z","dependencies_parsed_at":"2023-01-11T18:11:33.454Z","dependency_job_id":null,"html_url":"https://github.com/kinduff/dog-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/kinduff%2Fdog-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fdog-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fdog-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinduff%2Fdog-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinduff","download_url":"https://codeload.github.com/kinduff/dog-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658047,"owners_count":20326458,"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-07-30T21:00:31.633Z","updated_at":"2025-03-14T22:31:58.934Z","avatar_url":"https://github.com/kinduff.png","language":"Ruby","funding_links":["https://github.com/sponsors/kinduff","https://ko-fi.com/kinduff","https://liberapay.com/kinduff"],"categories":["Index","\u003ca id=\"memes-fun\"\u003e\u003c/a\u003e😂 Memes \u0026 Fun"],"sub_categories":["Animals","📚 Additional Resources"],"readme":"# :no_entry: [DEPRECATED] Active at [kinduff/dogapi.dog](https://github.com/kinduff/dogapi.dog)\n\n\n![dogdog](https://cloud.githubusercontent.com/assets/1270156/19406321/56122900-9249-11e6-8158-6987c82cbbdf.jpg)\n\n# Dog API\nThis is the Dog API and it provides dog facts as a service dogdog :dog:\n\n## Add to Slack\n\u003ca href=\"https://slack.com/oauth/authorize?scope=incoming-webhook,commands\u0026client_id=2160638498.90708647394\"\u003e\u003cimg alt=\"Add to Slack\" height=\"40\" width=\"139\" src=\"https://platform.slack-edge.com/img/add_to_slack.png\" srcset=\"https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x\" /\u003e\u003c/a\u003e\n\nThis will enable two things:\n\n- One daily random fact posted in the channel you select.\n- A Slack slash command (`/dogfact`) to retrieve a single fact on any channel.\n\nIf installation was successful you'll receive a welcome message :)\n\n### Privacy Policy\nDog Facts is just for fun. The only data retained by Dog Facts is your team webhook url (which is required to post Dog Facts messages to your Slack). Otherwise, no data is kept.\n\nFor questions or support, please contact directly through Twitter `https://twitter.com/kinduff` or chat with me at `https://keybase.io/kinduff/chat`\n\n## Use it as an API\n\n**Live endpoint:** `http://dog-api.kinduff.com`\n\n| Path         | Description  | Parameters\n| ------------ | ------------ | ----------\n| `/api/facts` | Returns an object with dog facts | `?number=5`\n| `/api/facts?raw=true` | Returns one fact in plain text \n\n## Host it yourself\nFirst make sure you have the following dependencies installed.\n\n- Ruby greater than 2.3.0\n- SQLite3\n\nGo ahead and clone this repository.\n\n```\ngit clone git@github.com:kinduff/dog-api.git\n```\n\nThen install the dependencies.\n\n```\nbundle install\n```\n\nAfter that you'll need to setup your database, run the following command to run migrations and fill out your database with the latest dog facts included in the `db/seeds.rb` file.\n\n```\nrake db:setup\n```\n\nAnd finally, start the server by running the following command.\n\n```\nrake server\n```\n\nOr just `rake` by it self. The application should now be running in `http://localhost:4567`.\n\nIn order to run the tests, just run:\n\n```\nrake spec\n```\n\n## Why you made this?\nThere's a [Cat API](http://catfacts-api.appspot.com) that returns cat facts. I like cats but I like dogs more. Equilibrium must exists.\n\n## Sources\nLot's of places, I'll list them tomorrow, mom. Also, special thanks to @screenshotjy and @RoryDuncan for their contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/kinduff.github.io%2Fdog-api%2F","html_url":"https://awesome.ecosyste.ms/projects/kinduff.github.io%2Fdog-api%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/kinduff.github.io%2Fdog-api%2F/lists"}