{"id":19107591,"url":"https://github.com/fastreports/fastreport-cloud-haskell","last_synced_at":"2026-06-18T02:32:03.990Z","repository":{"id":142092837,"uuid":"371284437","full_name":"FastReports/FastReport-Cloud-Haskell","owner":"FastReports","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-18T20:11:03.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-15T12:10:20.691Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":false,"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/FastReports.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}},"created_at":"2021-05-27T07:27:58.000Z","updated_at":"2022-11-09T09:27:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d4d636e-a4ce-4560-bf27-992632022768","html_url":"https://github.com/FastReports/FastReport-Cloud-Haskell","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":"0.16666666666666663","last_synced_commit":"52bb931dcfc2038031db3ed31be69bdaa411fb55"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastReports%2FFastReport-Cloud-Haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastReports%2FFastReport-Cloud-Haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastReports%2FFastReport-Cloud-Haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FastReports%2FFastReport-Cloud-Haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FastReports","download_url":"https://codeload.github.com/FastReports/FastReport-Cloud-Haskell/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240163510,"owners_count":19758022,"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-11-09T04:13:08.818Z","updated_at":"2026-05-30T05:30:14.687Z","avatar_url":"https://github.com/FastReports.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Auto-Generated OpenAPI Bindings to `FastReportCloud`\n\nThe library in `lib` provides auto-generated-from-OpenAPI bindings to the FastReportCloud API.\n\n## Installation\n\nInstallation follows the standard approach to installing Stack-based projects.\n\n1. Install the [Haskell `stack` tool](http://docs.haskellstack.org/en/stable/README).\n2. Run `stack install` to install this package.\n\nOtherwise, if you already have a Stack project, you can include this package under the `packages` key in your `stack.yaml`:\n```yaml\npackages:\n- location:\n    git: https://github.com/FastReports/FastReport-Cloud-Haskell\n    commit: somecommit\n```\n\n## Main Interface\n\nThe main interface to this library is in the `FastReportCloud.API` module, which exports the FastReportCloudBackend type. The FastReportCloudBackend\ntype can be used to create and define servers and clients for the API.\n\n## Creating a Client\n\nA client can be created via the `createFastReportCloudClient` function, which will generate a function for every endpoint of the API.\nThen these functions can be invoked with `runFastReportCloudClientWithManager` or more conveniently with `callFastReportCloudClient`\n(depending if you want an `Either` back or you want to catch) to access the API endpoint they refer to, if the API is served\nat the `url` you specified.\n\nFor example, if `https://fastreport.cloud/` is serving the FastReportCloud API, you can write:\n\n```haskell\n{-# LANGUAGE RecordWildCards #-}\n\nimport FastReportCloud.API as API\n\nimport           Network.HTTP.Client     (newManager)\nimport           Network.HTTP.Client.TLS (tlsManagerSettings)\nimport           Servant.Client          (ClientEnv, mkClientEnv, parseBaseUrl)\n\n\nmain :: IO ()\nmain = do\n  -- Configure the BaseUrl for the client\n  url \u003c- parseBaseUrl \"https://fastreport.cloud/\"\n\n  -- You probably want to reuse the Manager across calls, for performance reasons\n  manager \u003c- newManager tlsManagerSettings\n\n  -- Create the client (all endpoint functions will be available)\n  FastReportCloudBackend{..} \u003c- API.createFastReportCloudClient\n\n  -- Any FastReportCloud API call can go here, e.g. here we call `getSomeEndpoint`\n  API.callFastReportCloud (mkClientEnv manager url) getSomeEndpoint\n```\n\n## Authors\n\nFast Reports team https://www.fast-report.com/en/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastreports%2Ffastreport-cloud-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastreports%2Ffastreport-cloud-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastreports%2Ffastreport-cloud-haskell/lists"}