{"id":15533162,"url":"https://github.com/cmdvmd/codebusters-api","last_synced_at":"2025-04-06T14:26:57.309Z","repository":{"id":168001658,"uuid":"609724556","full_name":"cmdvmd/codebusters-api","owner":"cmdvmd","description":"An API to generate K1, K2, K3, and random substitution Aristocrats, Patristocrats and Xenocrypts for the Codebusters Science Olympiad event","archived":false,"fork":false,"pushed_at":"2023-05-21T17:47:20.000Z","size":2053,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T20:34:22.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://codebustersapi.pythonanywhere.com","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/cmdvmd.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":"2023-03-05T03:12:24.000Z","updated_at":"2023-05-21T17:49:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ecb56b1-f249-4723-96c9-defe88390358","html_url":"https://github.com/cmdvmd/codebusters-api","commit_stats":null,"previous_names":["cmdvmd/codebusters-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdvmd%2Fcodebusters-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdvmd%2Fcodebusters-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdvmd%2Fcodebusters-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmdvmd%2Fcodebusters-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmdvmd","download_url":"https://codeload.github.com/cmdvmd/codebusters-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247494359,"owners_count":20947863,"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-10-02T11:34:46.749Z","updated_at":"2025-04-06T14:26:57.303Z","avatar_url":"https://github.com/cmdvmd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codebusters API\n\nAn API to generate Aristocrats and Patristocrats for Codebusters with K1, K2, and random substitution\nencoding.\n\n\u003e **Note:** This API is hosted for free on [PythonAnywhere](https://www.pythonanywhere.com). If it no longer works, it\n\u003e may have been disabled. If this is the case, please [contact me](mailto:vcmd43@gmail.com) and I will renew the website\n\n## Endpoints\n\n* `aristocrat`\n* `patristocrat`\n* `xenocrypt`\n\nExample Calls:\n\n```\nhttps://codebustersapi.pythonanywhere.com/aristocrat\n```\n\n```\nhttps://codebustersapi.pythonanywhere.com/patristocrat\n```\n\n```\nhttps://codebustersapi.pythonanywhere.com/xenocrypt\n```\n\n## Encoding with a Keyed Alphabet\n\nUse the `alphabet` parameter with the value Random, K1, K2, or K3 (defaults to Random) to generate a problem that has\nbeen encoded with the chosen alphabet\n\n\u003e **Note:**  Keywords for xenocrypts will always be in English\n\n*Example calls:*\n\n```\nhttps://codebustersapi.pythonanywhere.com/aristocrat?alphabet=K1\n```\n\n```\nhttps://codebustersapi.pythonanywhere.com/patristocrat?alphabet=K2\n```\n\n```\nhttps://codebustersapi.pythonanywhere.com/xenocrypt?alphabet=K3\n```\n\n## Response\n\nExample response:\n\n```json\n{\n  \"ciphertext\": \"D NDPW LEW ZKWMYH FQ LEW QILIKW CWLLWK LEMU LEW EDHLFKB FQ LEW OMHL.\",\n  \"plaintext\": \"I LIKE THE DREAMS OF THE FUTURE BETTER THAN THE HISTORY OF THE PAST.\"\n}\n```\n\n* `ciphertext` - The encrypted text of the problem\n* `plaintext` - The original quote from the problem\n\n## Credits\n\nCredit to [Codebuilder](https://github.com/AC01010/codebuilder) for [quotes list](quotes.txt)\nand [keyword list](keywords.txt)\n\n## Development\n\nTo develop this project further, [fork](https://github.com/cmdvmd/codebusters-api/fork) this repository and install\ndependencies from [`requirements.txt`](requirements.txt) using `pip`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdvmd%2Fcodebusters-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmdvmd%2Fcodebusters-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmdvmd%2Fcodebusters-api/lists"}