{"id":15494056,"url":"https://github.com/thomasthiebaud/base_uri","last_synced_at":"2025-06-17T09:31:54.613Z","repository":{"id":61972739,"uuid":"349092382","full_name":"thomasthiebaud/base_uri","owner":"thomasthiebaud","description":"A tiny wrapper around Uri to easily define a base uri. Supports api versions.","archived":false,"fork":false,"pushed_at":"2021-06-08T12:11:38.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-19T11:30:55.521Z","etag":null,"topics":["baseurl","dart","http","uri"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasthiebaud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-18T13:52:54.000Z","updated_at":"2021-05-12T09:43:36.000Z","dependencies_parsed_at":"2022-10-24T13:15:31.687Z","dependency_job_id":null,"html_url":"https://github.com/thomasthiebaud/base_uri","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thomasthiebaud/base_uri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fbase_uri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fbase_uri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fbase_uri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fbase_uri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasthiebaud","download_url":"https://codeload.github.com/thomasthiebaud/base_uri/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasthiebaud%2Fbase_uri/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260328622,"owners_count":22992737,"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":["baseurl","dart","http","uri"],"created_at":"2024-10-02T08:10:55.683Z","updated_at":"2025-06-17T09:31:54.576Z","avatar_url":"https://github.com/thomasthiebaud.png","language":"Dart","readme":"# base_uri\n\nA tiny wrapper around Uri to easily define a base uri. Supports api versions.\n\n## Getting Started\n\nCreate a base Uri\n\n```\nfinal BASE_URI = BaseUri(\n  scheme: 'https',\n  host: 'example.com',\n  version: 'v1',\n);\n```\n\nthen use it accross your app\n\n```\nBASE_URI.useWith('/path'); // https://example.com/v1/path\nBASE_URI.useWith('/path', queryParameters: {'test': 'yes'}); // https://example.com/v1/path?test=yes\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthiebaud%2Fbase_uri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasthiebaud%2Fbase_uri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasthiebaud%2Fbase_uri/lists"}