{"id":19831289,"url":"https://github.com/lalugue/dice-api","last_synced_at":"2026-04-13T00:46:30.513Z","repository":{"id":104159597,"uuid":"492839296","full_name":"lalugue/dice-api","owner":"lalugue","description":"A small and fun API for virtual dice rolling needs 🎲","archived":false,"fork":false,"pushed_at":"2022-09-15T10:57:44.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T10:16:23.860Z","etag":null,"topics":["dice","fastapi","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lalugue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-05-16T13:07:23.000Z","updated_at":"2022-09-15T11:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a10d5b0-7fe7-474d-bcca-7d4138bded0a","html_url":"https://github.com/lalugue/dice-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalugue%2Fdice-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalugue%2Fdice-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalugue%2Fdice-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lalugue%2Fdice-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lalugue","download_url":"https://codeload.github.com/lalugue/dice-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241191422,"owners_count":19925248,"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":["dice","fastapi","python"],"created_at":"2024-11-12T11:29:50.443Z","updated_at":"2026-04-13T00:46:30.440Z","avatar_url":"https://github.com/lalugue.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dice-api\n\nA small and fun API for virtual dice rolling needs 🎲\n\nFor a sample roll, try the following locally:\n\n```\nhttp://127.0.0.1:8000/dice/\n```\n\nTo roll one's own set of dice, use the `dice` query parameter, for example:\n\n```\nhttp://127.0.0.1:8000/dice/?dice=d4,d6,d6\n```\n\nValid dice include:\n\n```\nd4,d6,d8,d10,d12,d20\n```\n\n# Installation\n\nInstall the required libraries whether in the host itself or in a virtual machine:\n\n```\npip install -r requirements.txt\n```\n\n# Run\n\nRun the application with the following command:\n\n```\nuvicorn main:app --reload\n```\n\nTo run without reloading after code changes, remove the `--reload` option\n\n# Documentation\n\nAuto-generated and interactive list of available routes is located at `/docs`, for example:\n\n```\nhttp://127.0.0.1:8000/docs\n```\n\n# Test\n\nRun `pytest` to run tests\n\n```\npytest\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flalugue%2Fdice-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flalugue%2Fdice-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flalugue%2Fdice-api/lists"}