{"id":20068102,"url":"https://github.com/malanski/star-wars-api","last_synced_at":"2025-07-13T16:36:26.649Z","repository":{"id":178469913,"uuid":"661900374","full_name":"malanski/star-wars-api","owner":"malanski","description":"Fetching data from swapi","archived":false,"fork":false,"pushed_at":"2023-07-04T01:34:43.000Z","size":3107,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T23:30:05.847Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/malanski.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-03T23:42:49.000Z","updated_at":"2023-07-03T23:43:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0f812fa-5a9a-4c29-9385-6e2c6b598720","html_url":"https://github.com/malanski/star-wars-api","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"67f1fcb9b6d3dd7b25b7df9a60e31e04aaaf9cdc"},"previous_names":["malanski/star-wars-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malanski%2Fstar-wars-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malanski%2Fstar-wars-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malanski%2Fstar-wars-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malanski%2Fstar-wars-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malanski","download_url":"https://codeload.github.com/malanski/star-wars-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241494944,"owners_count":19972009,"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-13T14:05:21.864Z","updated_at":"2025-03-02T11:20:18.792Z","avatar_url":"https://github.com/malanski.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Star Wars Random Character API Fetching\n\n## Introduction\n\nThis is a simple web application that fetches a random character from the Star Wars universe using the Star Wars API (SWAPI). The app allows users to toggle between light and dark modes for a better user experience.\n\n## Features\n\n- Random Character Fetch: Clicking the \"Get Random Character\" button fetches a random character's information from the Star Wars API and displays it on the page.\n- Dark Mode: Users can switch between light and dark mode for better readability and aesthetics.\n\n## Technologies Used\n\n- HTML\n- CSS\n- JavaScript\n- Axios Library (for API fetching)\n\n## How to Use\n\n1. Clone the repository or download the files to your local machine.\n2. Open `index.html` in your web browser.\n\n## Dark Mode Switcher\n\nThe app includes a dark mode switcher for better viewing at night or in low-light environments. When the dark mode is active, the page background, text, and other elements will change to dark colors for reduced eye strain.\n\n## Random Character Fetching\n\nUpon clicking the \"Get Random Character\" button, the app will fetch a random character's information from the Star Wars API (SWAPI). The information displayed includes:\n\n- Name\n- Height\n- Mass\n- Birth Year\n- Gender\n- Hair Color\n- Skin Color\n- Eye Color\n- Homeworld\n\nIn case there is an error while fetching the data, the app will display an error message to inform the user.\n\n## Acknowledgments\n\n- This app uses the Star Wars API (SWAPI) to fetch character information. SWAPI is a comprehensive API that provides access to data from the Star Wars films.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis web application is created for educational purposes and is not affiliated with Lucasfilm Ltd. or any Star Wars entities. The character information displayed is sourced from SWAPI, and all rights to the Star Wars franchise and its characters belong to Lucasfilm Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalanski%2Fstar-wars-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalanski%2Fstar-wars-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalanski%2Fstar-wars-api/lists"}