{"id":17861139,"url":"https://github.com/jonathanstowe/uri-fetchfile","last_synced_at":"2025-04-02T20:47:21.070Z","repository":{"id":43629041,"uuid":"71705878","full_name":"jonathanstowe/URI-FetchFile","owner":"jonathanstowe","description":"Raku module to retrieve a file from the internet by the best available method","archived":false,"fork":false,"pushed_at":"2023-07-04T13:42:33.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-07-04T14:37:50.634Z","etag":null,"topics":["fetcher","http","raku","utility"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonathanstowe.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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":"2016-10-23T13:50:34.000Z","updated_at":"2023-07-04T14:37:50.634Z","dependencies_parsed_at":"2024-10-28T09:05:46.494Z","dependency_job_id":"fb500e0c-95ef-4ac8-859f-b6a7fe811ef7","html_url":"https://github.com/jonathanstowe/URI-FetchFile","commit_stats":null,"previous_names":[],"tags_count":6,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FURI-FetchFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FURI-FetchFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FURI-FetchFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonathanstowe%2FURI-FetchFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonathanstowe","download_url":"https://codeload.github.com/jonathanstowe/URI-FetchFile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246892796,"owners_count":20850846,"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":["fetcher","http","raku","utility"],"created_at":"2024-10-28T08:43:01.536Z","updated_at":"2025-04-02T20:47:20.841Z","avatar_url":"https://github.com/jonathanstowe.png","language":"Raku","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URI-FetchFile\n\nRaku module to retrieve a file from the internet by the best available method\n\n![Build Status](https://github.com/jonathanstowe/URI-FetchFile/workflows/CI/badge.svg)\n\n## Synopsis\n\n```raku\n\nuse URI::FetchFile;\n\nif fetch-uri('http://rakudo.org/downloads/star/rakudo-star-2016.10.tar.gz', 'rakudo-star-2016.10.tar.gz') {\n    # do something with the file\n}\nelse {\n    die \"couldn't get file\";\n}\n\n```\n\n## Description\n\nThis provides a simple method of retrieving a single file via HTTP using the\nbest available method whilst trying to limit the dependencies.\n\nIt is intended to be used by installers or builders that may need to retrieve\na file but otherwise have no need for an HTTP client.\n\nIt will try to use the first available method from:\n\n\t* HTTP::UserAgent\n\n\t* LWP::Simple\n\n\t* curl\n\n\t* wget\n\n\nPlease feel free to suggest and/or implement other mechanisms.\n\n## Installation\n\nAssuming you have a working installation of Rakudo you can install this using ```zef``` : \n\n\tzef install URI::FetchFile\n\nOther mechanisms may become available in the future.\n\n## Support\n\nPlease make any reports, suggestions etc to [Github](https://github.com/jonathanstowe/URI-FetchFile/issues)\n\n## Licence and Copyright\n\nThis is free software please see the the [LICENCE](LICENCE) file for details.\n\n© Jonathan Stowe 2016 - 2021\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Furi-fetchfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanstowe%2Furi-fetchfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanstowe%2Furi-fetchfile/lists"}