{"id":28964555,"url":"https://github.com/trox25/visa-mastercard-americanexpress","last_synced_at":"2025-07-23T02:34:24.529Z","repository":{"id":299229128,"uuid":"1002408972","full_name":"TROX25/Visa-Mastercard-AmericanExpress","owner":"TROX25","description":"C program that validates credit card numbers and identifies the type of card based on known number patterns and Luhn’s Algorithm","archived":false,"fork":false,"pushed_at":"2025-06-15T12:20:09.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-24T05:06:56.462Z","etag":null,"topics":["c","luhn-algorithm"],"latest_commit_sha":null,"homepage":"","language":"C","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/TROX25.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,"zenodo":null}},"created_at":"2025-06-15T12:16:28.000Z","updated_at":"2025-06-15T12:20:12.000Z","dependencies_parsed_at":"2025-06-15T13:44:56.870Z","dependency_job_id":"74776fc2-631e-48cf-b725-6ae930bf7458","html_url":"https://github.com/TROX25/Visa-Mastercard-AmericanExpress","commit_stats":null,"previous_names":["trox25/visa-mastercard-americanexpress"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TROX25/Visa-Mastercard-AmericanExpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TROX25%2FVisa-Mastercard-AmericanExpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TROX25%2FVisa-Mastercard-AmericanExpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TROX25%2FVisa-Mastercard-AmericanExpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TROX25%2FVisa-Mastercard-AmericanExpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TROX25","download_url":"https://codeload.github.com/TROX25/Visa-Mastercard-AmericanExpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TROX25%2FVisa-Mastercard-AmericanExpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266606769,"owners_count":23955342,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["c","luhn-algorithm"],"created_at":"2025-06-24T05:06:48.372Z","updated_at":"2025-07-23T02:34:24.522Z","avatar_url":"https://github.com/TROX25.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visa-Mastercard-AmericanExpress\n\nThis is a simple C program that validates credit card numbers and identifies the type of card based on known number patterns and Luhn’s Algorithm.\n\nSupported card types:\n\n- 💳 Visa\n- 💳 Mastercard\n- 💳 American Express\n\n## 🔍 How It Works\n\n- Prompts the user to enter a credit card number.\n- Applies **Luhn’s Algorithm** to validate the number.\n- Checks the **length** and **starting digits** to determine the card issuer.\n- Prints one of the following results:\n  - `VISA`\n  - `MASTERCARD`\n  - `AMEX`\n  - `INVALID`\n\n## 💻 Example\nNumber: 378282246310005\nAMEX\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrox25%2Fvisa-mastercard-americanexpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrox25%2Fvisa-mastercard-americanexpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrox25%2Fvisa-mastercard-americanexpress/lists"}