{"id":18548743,"url":"https://github.com/jakeoeding/book-api","last_synced_at":"2026-04-30T14:32:30.166Z","repository":{"id":134309918,"uuid":"269788143","full_name":"jakeoeding/book-api","owner":"jakeoeding","description":"REST API for storing and retrieving book data","archived":false,"fork":false,"pushed_at":"2020-06-10T22:36:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T09:45:02.839Z","etag":null,"topics":["api","flask","flask-restful"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jakeoeding.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-05T21:55:17.000Z","updated_at":"2020-06-25T23:44:40.000Z","dependencies_parsed_at":"2023-07-25T16:31:39.123Z","dependency_job_id":null,"html_url":"https://github.com/jakeoeding/book-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/jakeoeding%2Fbook-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Fbook-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Fbook-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakeoeding%2Fbook-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakeoeding","download_url":"https://codeload.github.com/jakeoeding/book-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254301620,"owners_count":22047907,"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","flask","flask-restful"],"created_at":"2024-11-06T20:35:31.567Z","updated_at":"2026-04-30T14:32:25.144Z","avatar_url":"https://github.com/jakeoeding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Book Api\n\nBasic RESTful api with book data\n\n## Usage\n\n### List all books\n\n**Definition**\n\n`GET /books`\n\n**Response**\n\n- `200 OK` on success\n\n```json\n[\n    {\n        \"id:\": \"1\",\n        \"title\": \"Moby-Dick\",\n        \"author\": \"Herman Melville\",\n        \"isbn\": \"9781503280786\",\n        \"category\": \"fiction\"\n    },\n    {\n        \"id:\": \"2\",\n        \"title\": \"American Kingpin\",\n        \"author\": \"Nick Bilton\",\n        \"isbn\": \"9781591848141\",\n        \"category\": \"nonfiction\"\n    }\n]\n```\n\n### Register a new book\n\n**Definition**\n\n`POST /books`\n\n**Arguments**\n\n- `\"title\":string` book title\n- `\"author\":string` author full name\n- `\"isbn\":string` the 13 digit ISBN related to the title\n- `\"category:string\"` the type of book: either fiction or nonfiction\n\n**Response**\n\n- `201 CREATED` upon success\n\n```json\n{\n    \"id:\": \"1\",\n    \"title\": \"Moby-Dick\",\n    \"author\": \"Herman Melville\",\n    \"isbn\": \"9781503280786\",\n    \"category\": \"fiction\"\n}\n```\n\n### Get a single book\n\n**Definition**\n\n`GET /book/\u003cid\u003e`\n\n**Response**\n\n- `200 OK` on success\n- `404 NOT FOUND` if book does not exist\n\n```json\n{\n    \"id:\": \"1\",\n    \"title\": \"Moby-Dick\",\n    \"author\": \"Herman Melville\",\n    \"isbn\": \"9781503280786\",\n    \"category\": \"fiction\"\n}\n```\n\n### Update a book\n\n**Definition**\n\n`PUT /book/\u003cid\u003e`\n\n**Arguments**\n\n- `\"title\":string` book title\n- `\"author\":string` author full name\n- `\"isbn\":string` the 13 digit ISBN related to the title\n- `\"category:string\"` the type of book: either fiction or nonfiction\n\n**Response**\n\n- `200 OK` upon success\n- `404 NOT FOUND` if book does not exist\n\n```json\n{\n    \"id:\": \"1\",\n    \"title\": \"Moby-Dick\",\n    \"author\": \"Herman Melville\",\n    \"isbn\": \"9781503280786\",\n    \"category\": \"fiction\"\n}\n```\n\n### Delete a book\n\n**Definition**\n\n`DELETE /book/\u003cid\u003e`\n\n**Response**\n\n- `204 NO CONTENT` upon success\n- `404 NOT FOUND` if book does not exist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeoeding%2Fbook-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakeoeding%2Fbook-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakeoeding%2Fbook-api/lists"}