{"id":13594469,"url":"https://github.com/ywalia01/dune-api","last_synced_at":"2025-04-09T07:32:30.097Z","repository":{"id":45609042,"uuid":"356311506","full_name":"ywalia01/dune-api","owner":"ywalia01","description":"A simple API which provides you with book, character, movie and quotes JSON data","archived":false,"fork":false,"pushed_at":"2022-07-10T10:09:17.000Z","size":6323,"stargazers_count":54,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-02T16:52:21.733Z","etag":null,"topics":["api","dune","quotes","quotes-api"],"latest_commit_sha":null,"homepage":"https://dune-api.up.railway.app/quotes/1","language":"JavaScript","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/ywalia01.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-04-09T15:10:19.000Z","updated_at":"2024-08-02T06:28:00.000Z","dependencies_parsed_at":"2022-08-24T08:51:00.114Z","dependency_job_id":null,"html_url":"https://github.com/ywalia01/dune-api","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywalia01%2Fdune-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywalia01%2Fdune-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywalia01%2Fdune-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywalia01%2Fdune-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ywalia01","download_url":"https://codeload.github.com/ywalia01/dune-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223375348,"owners_count":17135354,"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":["api","dune","quotes","quotes-api"],"created_at":"2024-08-01T16:01:34.007Z","updated_at":"2024-11-06T16:31:25.070Z","avatar_url":"https://github.com/ywalia01.png","language":"JavaScript","funding_links":[],"categories":["Index","APIs","JavaScript"],"sub_categories":["Video","Entertainment"],"readme":"![arrakis-header2](https://user-images.githubusercontent.com/48391286/115104563-fcbaf400-9f76-11eb-912d-5d2b7a9f4933.jpg)\n\n# Dune API\n\nA simple API which provides you with book, character, movie and quotes JSON data\n\n## Production host\n\n[https://the-dune-api.herokuapp.com/](https://the-dune-api.herokuapp.com/)\n\n## API\n\n### `GET /quotes`\n\nGet a random quote in this format:\n\n\u003e [https://the-dune-api.herokuapp.com/quotes](https://the-dune-api.herokuapp.com/quotes)\n\n    [\n        {\n            id: \"14\",\n            quote: \"Fear is the mind-killer.\"\n        }\n    ]\n\n### `GET /quotes/{number}`\n\nReturns an array with `{number}` quotes e.g. `GET /quotes/3`.\n\n\u003e [https://the-dune-api.herokuapp.com/quotes/3](https://the-dune-api.herokuapp.com/quotes/3)\n\n    [\n        {\n            id: \"10\",\n            \"quote\": \"He who controls the spice controls the universe.\",\n        },\n        {\n            id: \"3\",\n            \"quote\": \"The mystery of life isn't a problem to solve, but a reality to experience.\",\n        },\n        {\n            id: \"11\",\n            \"quote\": \"Without change something sleeps inside us, and seldom awakens. The sleeper must awaken.\"\n        }\n    ]\n\n### `GET /quotes/id/{id}`\n\nGet the corresponding quote from its `id` in this format:\n\n\u003e [https://the-dune-api.herokuapp.com/quotes/id/66](https://the-dune-api.herokuapp.com/quotes/id/66)\n\n    [\n        {\n            id: \"66\",\n            \"quote\": \"A man's flesh is his own; the water belongs to the tribe.\",\n        }\n    ]\n\n### `GET /books`\n\nGet a random book in this format:\n\n\u003e [https://the-dune-api.herokuapp.com/books](https://the-dune-api.herokuapp.com/books)\n\n    [\n        {\n            id: \"17\",\n            title: \"Sisterhood of Dune\",\n            year: \"2012\",\n            author: [\"Brian Herbert\", \"Kevin J. Anderson\"],\n            wiki_url: \"https:/en.wikipedia.org/wiki/Sisterhood_of_Dune\"\n        }\n    ]\n\n### `GET /books/{number}`\n\nReturns an array with `{number}` books e.g. `GET /books/3`.\n\n\u003e [https://the-dune-api.herokuapp.com/books/3](https://the-dune-api.herokuapp.com/books/3)\n\n    [\n        {\n            id: \"20\",\n            title: \"Dune: The Duke of Caladan\",\n            year: \"2020\",\n            author: [\"Brian Herbert\", \"Kevin J. Anderson\"],\n            wiki_url: \"https:/en.wikipedia.org/wiki/Dune:_The_Duke_of_Caladan\"\n        },\n        {\n            id: \"15\",\n            title: \"Paul of Dune\",\n            year: \"2008\",\n            author: [\"Brian Herbert\", \"Kevin J. Anderson\"],\n            wiki_url: \"https:/en.wikipedia.org/wiki/Paul_of_Dune\"\n        },\n        {\n            id: \"4\",\n            title: \"God Emperor of Dune\",\n            year: \"1981\",\n            author: \"Frank Herbert\",\n            wiki_url: \"https:/en.wikipedia.org/wiki/God_Emperor_of_Dune\"\n        }\n    ]\n\n### `GET /books/id/{id}`\n\nGet the corresponding book from its `id` in this format:\n\n\u003e [https://the-dune-api.herokuapp.com/books/id/1](https://the-dune-api.herokuapp.com/books/id/1)\n\n    [\n        {\n            id: \"1\",\n            title: \"Dune\",\n            year: \"1965\",\n            author: \"Frank Herbert\",\n            wiki_url: \"https:/en.wikipedia.org/wiki/Dune_(novel)\"\n        }\n    ]\n\n## Contributing\n\nIf you want to add some quotes, just add them in the `models/quotes.js` file and make a pull request.\n\n## Credits\n\nInspired by [Breaking Bad Quotes](https://github.com/shevabam/breaking-bad-quotes).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fywalia01%2Fdune-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fywalia01%2Fdune-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fywalia01%2Fdune-api/lists"}