{"id":23011652,"url":"https://github.com/juanrcoder/holbertonschool-airbnb_clone","last_synced_at":"2026-03-20T00:14:47.090Z","repository":{"id":188312733,"uuid":"678487823","full_name":"juanRCoder/holbertonschool-AirBnB_clone","owner":"juanRCoder","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-16T23:45:06.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T07:28:27.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/juanRCoder.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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-14T17:02:12.000Z","updated_at":"2023-11-20T18:43:55.000Z","dependencies_parsed_at":"2025-02-08T07:36:53.210Z","dependency_job_id":null,"html_url":"https://github.com/juanRCoder/holbertonschool-AirBnB_clone","commit_stats":null,"previous_names":["juanrcoder/holbertonschool-airbnb_clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanRCoder%2Fholbertonschool-AirBnB_clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanRCoder%2Fholbertonschool-AirBnB_clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanRCoder%2Fholbertonschool-AirBnB_clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/juanRCoder%2Fholbertonschool-AirBnB_clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/juanRCoder","download_url":"https://codeload.github.com/juanRCoder/holbertonschool-AirBnB_clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246856675,"owners_count":20844974,"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-12-15T10:10:09.509Z","updated_at":"2026-01-17T22:51:55.793Z","avatar_url":"https://github.com/juanRCoder.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#\t\tAIRBNB clone - The console :city_sunrise:\n\n## Project Description:\n\n\nWelcome to the exciting Airbnb clone project! In this initial phase, we have developed the backend and a console application in Python using the `cmd` and `json` modules.\nData is stored as Python objects and saved in JSON format for easy management. Our replica offers basic functionalities such as searching and booking accommodations,\nas well as interacting with users. This project lays the foundation for future enhancements and expansions.\n\n\n## Description of the command interpreter:speech_balloon:\n\nThe command interpreter is a Bash-like interface specifically designed for the Airbnb clone project. It accepts a limited\nnumber of predefined commands created especially for the usage of the AirBnB website. It functions as the frontend of the\nweb application, allowing users to interact with the Python-based backend using object-oriented programming (OOP).\n\n## Some of the commands available are:floppy_disk:\n\n- quit - exit\n- help\n- create\n- show\n- destroy\n- all\n- update\n\n## Command Interpreter Description:computer:\n|Command| Description |\n|--|--|\n| **quit or EOF** | Exits the program |\n| **Usage** | By itself |\n| **-----** | **-----** |\n| **help** | Provides a text describing how to use a command.  |\n| **Usage** | By itself --or-- **help \u003ccommand\\\u003e** |\n| **-----** | **-----** |\n| **create** | Creates a new instance of a valid `Class`, saves it (to the JSON file) and prints the `id`.  Valid classes are: BaseModel, User, State, City, Amenity, Place, Review. |\n| **Usage** | **create \u003cclass name\\\u003e**|\n| **-----** | **-----** |\n| **show** | Prints the string representation of an instance based on the class name and `id`  |\n| **Usage** | **show \u003cclass name\\\u003e \u003cid\\\u003e** --or-- **\u003cclass name\\\u003e.show(\u003cid\\\u003e)**|\n| **-----** | **-----** |\n| **destroy** | Deletes an instance based on the class name and `id` (saves the change into a JSON file).  |\n| **Usage** | **destroy \u003cclass name\\\u003e \u003cid\\\u003e** --or-- **\u003cclass name\u003e.destroy(\u003cid\u003e)** |\n| **-----** | **-----** |\n| **all** | Prints all string representation of all instances based or not on the class name.  |\n| **Usage** | By itself or **all \u003cclass name\\\u003e** --or-- **\u003cclass name\\\u003e.all()** |\n| **-----** | **-----** |\n| **update** | Updates an instance based on the class name and `id` by adding or updating attribute (saves the changes into a JSON file).  |\n| **Usage** | **update \u003cclass name\\\u003e \u003cid\\\u003e \u003cattribute name\\\u003e \"\u003cattribute value\\\u003e\"** ---or--- **\u003cclass name\\\u003e.update(\u003cid\\\u003e, \u003cattribute name\\\u003e, \u003cattribute value\\\u003e)** --or-- **\u003cclass name\\\u003e.update(\u003cid\\\u003e, \u003cdictionary representation\\\u003e)**|\n\n\n## How to start:book::computer:\n\n- Download the project from the GitHub repository.\n\n- Navigate to the root directory of the project.\n\n- launch the command interpreter `python ./console`.\n\n- Utilize the provided commands to efficiently manage AirBnB objects and perform various operations with ease.\n\n## EXAMPLES\n\n```\n$ ./console.py\n(hbnb) help\n\nDocumented commands (type help \u003ctopic\u003e):\n========================================\nEOF  create  destroy  help  quit  show\n\nUndocumented commands:\n======================\nall update\n\n(hbnb) \n(hbnb) \n(hbnb) quit\n$\n```\n\n## Authors:pencil2:\n\n- **Juan Ramirez**   \u003c\u003cjuanRCoder@gmail.com\u003e\u003e\n- **Oscar Morales**  \u003c\u003comoralespj@gmail.com\u003e\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanrcoder%2Fholbertonschool-airbnb_clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuanrcoder%2Fholbertonschool-airbnb_clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuanrcoder%2Fholbertonschool-airbnb_clone/lists"}