{"id":19502372,"url":"https://github.com/zio-archive/interop-twitter","last_synced_at":"2025-04-26T00:31:56.157Z","repository":{"id":34964832,"uuid":"191031442","full_name":"zio-archive/interop-twitter","owner":"zio-archive","description":null,"archived":true,"fork":false,"pushed_at":"2024-08-20T01:41:57.000Z","size":209,"stargazers_count":13,"open_issues_count":15,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-23T05:41:41.195Z","etag":null,"topics":["scala","zio"],"latest_commit_sha":null,"homepage":"https://zio.dev/zio-interop-twitter","language":"Scala","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/zio-archive.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-09T16:46:12.000Z","updated_at":"2025-01-20T13:00:07.000Z","dependencies_parsed_at":"2023-02-19T12:16:34.291Z","dependency_job_id":"7c70fa8b-81a0-4cdf-802d-7285700f58a4","html_url":"https://github.com/zio-archive/interop-twitter","commit_stats":null,"previous_names":["zio-archive/interop-twitter"],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zio-archive%2Finterop-twitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zio-archive%2Finterop-twitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zio-archive%2Finterop-twitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zio-archive%2Finterop-twitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zio-archive","download_url":"https://codeload.github.com/zio-archive/interop-twitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250917284,"owners_count":21507561,"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":["scala","zio"],"created_at":"2024-11-10T22:16:14.759Z","updated_at":"2025-04-26T00:31:55.875Z","avatar_url":"https://github.com/zio-archive.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Interop\n\n[![Project stage][Stage]][Stage-Page]\n![CI][Badge-CI]\n[![Releases][Badge-SonatypeReleases]][Link-SonatypeReleases]\n[![Snapshots][Badge-SonatypeSnapshots]][Link-SonatypeSnapshots]\n\nThis library provides capability to convert Twitter `Future` into ZIO `Task`.\n\n### Example\n\n```scala\nimport com.twitter.util.Future\nimport zio.{ App, Task }\nimport zio.console._\nimport zio.interop.twitter._\n\nobject Example extends App {\n  def run(args: List[String]) = {\n    val program =\n      for {\n        _        \u003c- putStrLn(\"Hello! What is your name?\")\n        name     \u003c- getStrLn\n        greeting \u003c- Task.fromTwitterFuture(greet(name))\n        _        \u003c- putStrLn(greeting)\n      } yield ()\n\n    program.exitCode\n  }\n\n  private def greet(name: String): Future[String] = Future.value(s\"Hello, $name!\")\n}\n```\n\n[Badge-CI]: https://github.com/zio/interop-twitter/workflows/CI/badge.svg\n[Badge-SonatypeReleases]: https://img.shields.io/nexus/r/https/oss.sonatype.org/dev.zio/zio-interop-twitter_2.12.svg \"Sonatype Releases\"\n[Badge-SonatypeSnapshots]: https://img.shields.io/nexus/s/https/oss.sonatype.org/dev.zio/zio-interop-twitter_2.12.svg \"Sonatype Snapshots\"\n[Link-Circle]: https://circleci.com/gh/zio/interop-twitter/tree/master\n[Link-SonatypeReleases]: https://oss.sonatype.org/content/repositories/releases/dev/zio/zio-interop-twitter_2.12/ \"Sonatype Releases\"\n[Link-SonatypeSnapshots]: https://oss.sonatype.org/content/repositories/snapshots/dev/zio/zio-interop-twitter_2.12/ \"Sonatype Snapshots\"\n[Stage]: https://img.shields.io/badge/Project%20Stage-Production%20Ready-brightgreen.svg\n[Stage-Page]: https://github.com/zio/zio/wiki/Project-Stages\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzio-archive%2Finterop-twitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzio-archive%2Finterop-twitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzio-archive%2Finterop-twitter/lists"}