{"id":23679467,"url":"https://github.com/tigo-cmd/airbnb_clone","last_synced_at":"2025-12-31T17:30:17.719Z","repository":{"id":239945736,"uuid":"800012494","full_name":"Tigo-cmd/AirBnB_clone","owner":"Tigo-cmd","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-27T22:52:20.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-29T17:44:21.335Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Tigo-cmd.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":"2024-05-13T14:32:26.000Z","updated_at":"2024-11-11T19:47:37.000Z","dependencies_parsed_at":"2024-05-16T03:38:00.136Z","dependency_job_id":"da10c6d9-096c-4cd1-a86d-8cfd3c8bba0c","html_url":"https://github.com/Tigo-cmd/AirBnB_clone","commit_stats":null,"previous_names":["tigo-cmd/airbnb_clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tigo-cmd%2FAirBnB_clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tigo-cmd%2FAirBnB_clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tigo-cmd%2FAirBnB_clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tigo-cmd%2FAirBnB_clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tigo-cmd","download_url":"https://codeload.github.com/Tigo-cmd/AirBnB_clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727035,"owners_count":19687096,"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-29T17:43:13.125Z","updated_at":"2025-12-31T17:30:17.361Z","avatar_url":"https://github.com/Tigo-cmd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AirBnB Clone - The Console\n\nAirBnB Clone - The Console is a command-line tool designed to manage and interact with property rental data. This project emulates the basic functionality of Airbnb, allowing you to create, manage, and search for property listings through a user-friendly command-line interface.\n# Table of Contents\n\n    Installation\n    Usage\n    Commands\n    Examples\n    Contributing\n    License\n\nInstallation\nRequirements\n\nPython 3.6 or later\nClone this repository to your local machine:\n\n````\ngit clone https://github.com/Tigo-cmd/AirBnB_clone.git\n````\nNavigate to the project directory:\n\n````\ncd AirBnB_clone\n````\nRun the console:\n\n````\n./console.py\n````\n\nNow you're ready to start using the AirBnB clone console!\nUsage\n\nThe console provides a simple, yet powerful, interface for managing property listings. It allows you to create, update, delete, and search for property listings. You can interact with the console by typing in commands and receiving feedback in real-time.\nCommands\n\nHere are some of the basic commands you can use in the AirBnB clone console:\n\n    create \u003cclass\u003e: Create a new instance of a specified class.\n\n    show \u003cclass\u003e \u003cid\u003e: Display information about an instance.\n\n    destroy \u003cclass\u003e \u003cid\u003e: Delete an instance.\n\n    all \u003cclass\u003e: Display a list of all instances or all instances of a specified class.\n\n    update \u003cclass\u003e \u003cid\u003e \u003cattribute\u003e \"\u003cvalue\u003e\": Update an attribute of an instance.\n\nFor a full list of available commands and their usage, you can use the help command within the console.\nExamples\n\nHere are a few examples of how to use the console:\n\ncreate a new user:\n\n````\n(hbnb) create User\n````\n    \nShow details of a user:\n````\n(hbnb) show User \u003cuser_id\u003e\n````\n\nList all available users:\n\nUpdate a user's information:\n````\n(hbnb) all User\n(hbnb) update User \u003cuser_id\u003e first_name \"John\"\n````\nDelete a user:\n````\n(hbnb) destroy User \u003cuser_id\u003e\n````\nMore Info\nExecution\n\nworks in interactive mode:\n=======\nUsage\nHow to start the interpreter: First, we clone this repo:\n\n```\n$ git clone https://github.com/aliceada96/AirBnB_clone.git\n$\n```\n\nThen we cd into AirBnb directory:\n```\n$ cd AirBnB\n$\n```\n\nWe can start the command interpreter interactively:\n```\n$ ./console.py\n(hbnb)\n```\nTo exit the console we can use the command quit or ctrl + D\n\n````\n(hbnb) quit\n$\n````\nTo get the available list of commands we can enter 'help' onto the CLI.\n````\n(hbnb) help\n````\n````\nDocumented commands (type help \u003ctopic\u003e):\n========================================\nEOF  all  count  create  destroy  help  quit  show  update\n````\n````\n(hbnb) \n``````\nWe can get more information on a command e.g.,\n````\n(hbnb) help count\n````\nPrint number of objects from class.\n````\n(hbnb)\n````\nWe can create an instance of a class, for example:\n````\n(hbnb) create BaseModel\nf8284b8a-27fd-413e-bc0f-e20ae89c17b1\n(hbnb)\n````\nInspect an instance of a class:\n````\n(hbnb) show BaseModel f8284b8a-27fd-413e-bc0f-e20ae89c17b1\n[BaseModel] (f8284b8a-27fd-413e-bc0f-e20ae89c17b1) ({'id': 'f8284b8a-27fd-413e-bc0f-e20ae89c17b1', 'created_at': datetime.datetime(2023, 10, 15, 21, 27, 18, 991998), 'updated_at': datetime.datetime(2023, 10, 15, 21, 27, 18, 992046)})\n(hbnb)\n````\nUpdate an instance of a class with various attributes:\n````\n(hbnb) update BaseModel f8284b8a-27fd-413e-bc0f-e20ae89c17b1 name bonii\n(hbnb) show BaseModel f8284b8a-27fd-413e-bc0f-e20ae89c17b1\n[BaseModel] (f8284b8a-27fd-413e-bc0f-e20ae89c17b1) ({'id': 'f8284b8a-27fd-413e-bc0f-e20ae89c17b1', 'created_at': datetime.datetime(2023, 10, 15, 21, 27, 18, 991998), 'updated_at': datetime.datetime(2023, 10, 15, 21, 28, 46, 959895), 'name': 'bobii'})\n(hbnb)\n````\nDelete an instance of a class:\n````\n(hbnb) destroy BaseModel f8284b8a-27fd-413e-bc0f-e20ae89c17b1\n(hbnb) show BaseModel f8284b8a-27fd-413e-bc0f-e20ae89c17b1\n** no instance found **\n(hbnb)\n````\n````\n$ ./console.py\n(hbnb) help\n````\n````\nDocumented commands (type help \u003ctopic\u003e):\n========================================\nEOF  help  quit\n\n(hbnb) \n(hbnb) \n(hbnb) quit\n$\n\nalso in non-interactive mode: (like the Shell project in C)\n\n$ echo \"help\" | ./console.py\n(hbnb)\n\nDocumented commands (type help \u003ctopic\u003e):\n========================================\nEOF  help  quit\n(hbnb) \n$\n$ cat test_help\nhelp\n$\n$ cat test_help | ./console.py\n(hbnb)\n\nDocumented commands (type help \u003ctopic\u003e):\n========================================\nEOF  help  quit\n(hbnb) \n$\n````\nContributing\n\nWe welcome contributions from the community! If you find a bug, have an idea for an improvement, or would like to add new features, please feel free to open an issue or submit a pull request.\nLicense\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\nEnjoy using the AirBnB Clone - The Console, and happy property management! If you have any questions or need further assistance, feel free to reach out to the project maintainers.\n\nAUTHORS\nNwali Ugonna Emmanuel (Tigo-cmd) \u003cemmanuelsticx6@gmail.com\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigo-cmd%2Fairbnb_clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftigo-cmd%2Fairbnb_clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftigo-cmd%2Fairbnb_clone/lists"}