{"id":15112395,"url":"https://github.com/dantesc03/discordflightbot","last_synced_at":"2025-04-12T04:12:15.648Z","repository":{"id":256931411,"uuid":"856852013","full_name":"DanteSc03/DiscordFlightBot","owner":"DanteSc03","description":"This project was designed to receive realtime arrival and departure information from any airport in the world utilizing the AviationStack API","archived":false,"fork":false,"pushed_at":"2024-09-14T18:37:54.000Z","size":19,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T04:12:09.591Z","etag":null,"topics":["api","api-client","api-rest","discord","discord-bot","discord-py","github-copilot","learn","python","student-vscode"],"latest_commit_sha":null,"homepage":"","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/DanteSc03.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":"2024-09-13T10:26:40.000Z","updated_at":"2024-11-24T00:52:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"73c6fea8-1e67-48de-87c7-93d1b735911c","html_url":"https://github.com/DanteSc03/DiscordFlightBot","commit_stats":null,"previous_names":["dantesc03/discordflightbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FDiscordFlightBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FDiscordFlightBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FDiscordFlightBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FDiscordFlightBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanteSc03","download_url":"https://codeload.github.com/DanteSc03/DiscordFlightBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514205,"owners_count":21116903,"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","api-client","api-rest","discord","discord-bot","discord-py","github-copilot","learn","python","student-vscode"],"created_at":"2024-09-26T00:44:33.402Z","updated_at":"2025-04-12T04:12:15.625Z","avatar_url":"https://github.com/DanteSc03.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Airport Flight Bot\n\nA Discord bot that provides real-time flight arrival and departure information for airports using their IATA code, powered by the [AviationStack API](https://aviationstack.com/).\n\n## Features\n- Responds to user greetings and prompts for an IATA airport code.\n- Retrieves and displays flight information including status, times, and airline details.\n- Saves flight data to local files `departure_data.json` and `arrival_data.json`.\n\n## Requirements\n- A [Discord Bot Token](https://discordpy.readthedocs.io/en/stable/discord.html).\n- An API key from [AviationStack](https://aviationstack.com/).\n- Python 3.6+.\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/DanteSc03/DiscordFlightBot.git\n\n2. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n\n3. Add your Discord Bot Token and AviationStack API key in the script:\n    - Rename `.env.sample` to `.env` and paste in your keys.\n\n4. Run the bot:\n    ```bash \n    python bot.py\n\n## Usage\n1. Start the bot and greet it with hello in your Discord Server\n2. The bot will prompt for an IATA airport code (ex: LAX, JFK, etc...)\n3. Bot retrieves and displays flight information in the chat (data is also locally stored)\n\n## License\nThis project is under the MIT license. Feel free to fork the repo and make suggestions with pull requests. All suggestions are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantesc03%2Fdiscordflightbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantesc03%2Fdiscordflightbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantesc03%2Fdiscordflightbot/lists"}