{"id":23832230,"url":"https://github.com/dzareldeveloper/chatgpt","last_synced_at":"2025-08-12T13:41:54.014Z","repository":{"id":268901371,"uuid":"905806127","full_name":"DzarelDeveloper/ChatGPT","owner":"DzarelDeveloper","description":"Project-10 | Hari-10 | 50 Project Python","archived":false,"fork":false,"pushed_at":"2024-12-20T03:36:39.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T03:14:58.645Z","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/DzarelDeveloper.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-12-19T15:00:11.000Z","updated_at":"2025-02-11T13:12:33.000Z","dependencies_parsed_at":"2024-12-19T16:32:34.307Z","dependency_job_id":null,"html_url":"https://github.com/DzarelDeveloper/ChatGPT","commit_stats":null,"previous_names":["dzareldeveloper/chatgpt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DzarelDeveloper/ChatGPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DzarelDeveloper%2FChatGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DzarelDeveloper%2FChatGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DzarelDeveloper%2FChatGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DzarelDeveloper%2FChatGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DzarelDeveloper","download_url":"https://codeload.github.com/DzarelDeveloper/ChatGPT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DzarelDeveloper%2FChatGPT/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270071053,"owners_count":24522222,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-02T14:18:53.156Z","updated_at":"2025-08-12T13:41:53.961Z","avatar_url":"https://github.com/DzarelDeveloper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project-10: AI ChatGPT API\n\n## Description\nThis project integrates the **ChatGPT API** using the **RapidAPI** service. It allows users to ask questions to an AI-powered chatbot that leverages the capabilities of GPT-3. The application provides an interactive console where users can input questions, and it will receive answers from the API. The project also includes a basic loading animation to indicate when the request is being processed.\n\n## Prerequisites\nBefore running this project, ensure the following modules are installed:\n\n- **Requests**: To make HTTP requests to the API.\n  \n    Install it via pip:\n\n    ```bash\n    pip install requests\n    ```\n\n- **Pyfiglet**: To create ASCII art text output.\n\n    Install it via pip:\n\n    ```bash\n    pip install pyfiglet\n    ```\n\n## How to Get Your API Key for Simple ChatGPT API\n\nTo use the **Simple ChatGPT API**, follow these steps to get your API Key from **RapidAPI**:\n\n---\n\n### 1. Create a RapidAPI Account\n- Visit [RapidAPI](https://rapidapi.com/).\n- Sign up for an account if you don’t have one. You can use your email, Google, or GitHub account to register.\n\n---\n\n### 2. Find the Simple ChatGPT API\n- Use the search bar at the top of the page to search for **\"Simple ChatGPT API\"**.\n- Select the appropriate API from the search results.\n\n---\n\n### 3. Subscribe to the API\n- On the API page, review the available subscription plans.\n- Select a plan (there is typically a Free Tier available for testing purposes).\n- Click **Subscribe** to activate the selected plan.\n\n---\n\n### 4. Get Your API Key\n- After subscribing, navigate to the **Endpoints** or **Authorization** section of the API page.\n- You will see your **API Key** listed under the **Header Parameters** section as `X-RapidAPI-Key`.\n- Copy the API Key for use in your project.\n\n---\n\n### 5. Use the API Key in Your Code\nInsert the API Key into your project as follows:\n```python\nheaders = {\n    \"content-type\": \"application/json\",\n    \"X-RapidAPI-Key\": \"YOUR_API_KEY_HERE\",  # Replace with your actual API key\n    \"X-RapidAPI-Host\": \"simple-chatgpt-api.p.rapidapi.com\"\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzareldeveloper%2Fchatgpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzareldeveloper%2Fchatgpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzareldeveloper%2Fchatgpt/lists"}