{"id":18868871,"url":"https://github.com/venopyX/Htapi","last_synced_at":"2025-04-14T15:31:04.484Z","repository":{"id":169113815,"uuid":"645017904","full_name":"venopyX/Htapi","owner":"venopyX","description":"Hotel API ","archived":false,"fork":false,"pushed_at":"2023-06-11T20:16:54.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T01:43:45.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/venopyX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-24T18:35:15.000Z","updated_at":"2023-06-11T20:56:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"9292dcf4-0e4e-408f-92b3-648f81a4f6b6","html_url":"https://github.com/venopyX/Htapi","commit_stats":null,"previous_names":["gladsonchala/htapi","venopyx/htapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2FHtapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2FHtapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2FHtapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/venopyX%2FHtapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/venopyX","download_url":"https://codeload.github.com/venopyX/Htapi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248906402,"owners_count":21181172,"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-11-08T05:15:04.745Z","updated_at":"2025-04-14T15:31:04.477Z","avatar_url":"https://github.com/venopyX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Htapi\nHotel API \n\nCode of REST-API of The data model:\n```\n{\n  \"hotels\": {\n    \"hotel_id\": {\n      \"name\": \"\",\n      \"photos_url\": [\"url1\", \"url2\", \"...\"],\n      \"ground\": \"G+1\",\n      \"city\": \"\",\n      \"approximate_location\": \"\",\n      \"google_map_location_url\": \"\",\n      \"latitude\": \"\",\n      \"longitude\": \"\",\n      \"price_range\": {\n        \"min\": \"\",\n        \"max\": \"\"\n      },\n      \"additional_services\": [\"service1\", \"service2\", \"...\"],\n      \"rooms\": [\n        {\n          \"room_id\": \"\",\n          \"room_type\": \"\",\n          \"room_area\": \"\",\n          \"room_pricing\": \"\",\n          \"room_photos\": [\"url1\", \"url2\", \"...\"],\n          \"additional_services\": [\"service1\", \"service2\", \"...\"],\n          \"other_description\": \"\"\n        }\n      ],\n      \"other_description\": \"\"\n    }\n  }\n}\n```\nThe hotels object includes fields like photos_url, ground, city, approximate_location, google_map_location_url, latitude, longitude, price_range, additional_services, and other_description.\nThe rooms object includes room_type, room_area, room_pricing, room_photos, additional_services \u0026 other_description fields.\n\nThe endpoints:\n\n1. GET /hotels - Returns a list of all hotels\n2. GET /hotels/{hotel_id} - Returns details for a specific hotel\n3. POST /hotels - Creates a new hotel with the provided details\n4. PUT /hotels/{hotel_id} - Updates the details for a specific hotel\n5. DELETE /hotels/{hotel_id} - Deletes a specific hotel\n6. GET /hotels/{hotel_id}/rooms - Returns a list of all rooms for a specific hotel\n7. GET /hotels/{hotel_id}/rooms/{room_id} - Returns details for a specific room in a specific hotel\n8. POST /hotels/{hotel_id}/rooms - Creates a new room for a specific hotel with the provided details\n9. PUT /hotels/{hotel_id}/rooms/{room_id} - Updates the details for a specific room in a specific hotel\n10. DELETE /hotels/{hotel_id}/rooms/{room_id} - Deletes a specific room in a specific hotel\n11. GET /hotels/search?query={search_query} - Returns a list of hotels that match the search query.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvenopyX%2FHtapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FvenopyX%2FHtapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FvenopyX%2FHtapi/lists"}