{"id":15010101,"url":"https://github.com/zeuxisoo/elixir-exubx","last_synced_at":"2026-02-14T19:31:14.863Z","repository":{"id":62429494,"uuid":"72191995","full_name":"zeuxisoo/elixir-exubx","owner":"zeuxisoo","description":"A fetch tool for listing the remote ubx performance list.","archived":false,"fork":false,"pushed_at":"2019-02-18T07:04:20.000Z","size":165,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"0.2.x","last_synced_at":"2025-11-21T19:31:21.478Z","etag":null,"topics":["console-application","elixir","tools"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeuxisoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-28T09:05:00.000Z","updated_at":"2019-02-18T07:04:22.000Z","dependencies_parsed_at":"2022-11-01T20:09:38.721Z","dependency_job_id":null,"html_url":"https://github.com/zeuxisoo/elixir-exubx","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zeuxisoo/elixir-exubx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeuxisoo%2Felixir-exubx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeuxisoo%2Felixir-exubx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeuxisoo%2Felixir-exubx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeuxisoo%2Felixir-exubx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeuxisoo","download_url":"https://codeload.github.com/zeuxisoo/elixir-exubx/tar.gz/refs/heads/0.2.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeuxisoo%2Felixir-exubx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29453378,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["console-application","elixir","tools"],"created_at":"2024-09-24T19:30:10.868Z","updated_at":"2026-02-14T19:31:14.844Z","avatar_url":"https://github.com/zeuxisoo.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExUbx\n\nA fetch tool for listing the remote ubx performance list.\n\n## Installation\n\nAdd as a dependency in your mix.exs file:\n\n```elixir\ndefp deps do\n  [\n    { :exubx, \"~\u003e 0.2\" }\n  ]\nend\n```\n\nAnd run:\n\n    $ mix deps.get\n\n## Basic Usage\n\nTo run `ExUbx` in the current project:\n\n    $ mix ubx list --event=[EVENT_ID]\n\n## Other Usage\n\nYou can play `ExUbx` in the Elixir REPL, Please ensure this command excute in the root of your project:\n\n    $ iex -S mix\n\nExample (fetch auth token):\n\n    iex\u003e auth = ExUbx.fetch_auth()\n\n    %ExUbx.Api.Struct.Auth{cookie: \"Auth_Token=201610311227-12345678a12aa496bde94ec7de16f3f01adc6c5a; HttpOnly; Domain=example.com; Expires=Mon, 31-Oct-2016 05:27:12 GMT; Path=/\", location: \"https://ticket.example.com/\"}\n\nExample (fetch performance list):\n\n    iex\u003e performance = ExUbx.fetch_performance(auth.cookie, 30816)\n\n    %ExUbx.Api.Struct.Performance{performances: [%{\"bookmarkCreateTime\" =\u003e -1,\n        \"bookmarkStatus\" =\u003e 0, \"counterSalesEndDate\" =\u003e nil,\n        \"counterSalesStartDate\" =\u003e nil, \"displayDate\" =\u003e true,\n        \"displayTime\" =\u003e true, \"eventId\" =\u003e 30816, \"externalReferenceKey\" =\u003e \"\",\n        \"isFirstDayPerformance\" =\u003e false, \"isInCounterSalesPeriod\" =\u003e true,\n        \"isNotAllowedToPurchaseBeforeShowTime\" =\u003e false, \"isPurchasable\" =\u003e true,\n        \"note\" =\u003e nil, \"performanceAcsId\" =\u003e 293477,\n        \"performanceCategoryClass\" =\u003e \"-\", \"performanceDateTime\" =\u003e 1480074300000,\n        \"performanceDisplayFormat\" =\u003e \"DISPLAY_NAME_DATE_AND_TIME\",\n        \"performanceDisplayFormatValue\" =\u003e 1, \"performanceId\" =\u003e 101254,\n        \"performanceName\" =\u003e \"This is a example performance name\",\n        \"transactionMaxQuota\" =\u003e 40},\n        ......\n        ......\n        ......\n      ],\n     status: [\"AVAILABLE\", \"AVAILABLE\", \"AVAILABLE\", \"AVAILABLE\", \"AVAILABLE\"]}\n\nExample (convert performances for mix the performances and status)\n\n    iex\u003e ExUbx.convert_performances(performance)\n\n    [%{\"bookmarkCreateTime\" =\u003e -1, \"bookmarkStatus\" =\u003e 0,\n       \"counterSalesEndDate\" =\u003e nil, \"counterSalesStartDate\" =\u003e nil,\n       \"displayDate\" =\u003e true, \"displayTime\" =\u003e true, \"eventId\" =\u003e 30816,\n       \"externalReferenceKey\" =\u003e \"\", \"isFirstDayPerformance\" =\u003e false,\n       \"isInCounterSalesPeriod\" =\u003e true,\n       \"isNotAllowedToPurchaseBeforeShowTime\" =\u003e false, \"isPurchasable\" =\u003e true,\n       \"note\" =\u003e nil, \"performanceAcsId\" =\u003e 293477,\n       \"performanceCategoryClass\" =\u003e \"-\", \"performanceDateTime\" =\u003e 1480074300000,\n       \"performanceDisplayFormat\" =\u003e \"DISPLAY_NAME_DATE_AND_TIME\",\n       \"performanceDisplayFormatValue\" =\u003e 1, \"performanceId\" =\u003e 101254,\n       \"performanceName\" =\u003e \"This is a example performance name\",\n       \"status\" =\u003e \"AVAILABLE\", \"transactionMaxQuota\" =\u003e 40},\n     ......\n     ......\n     ......]\n\n## Documentation\n\nYou can find in [Here](https://hexdocs.pm/exubx)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeuxisoo%2Felixir-exubx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeuxisoo%2Felixir-exubx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeuxisoo%2Felixir-exubx/lists"}