{"id":15873529,"url":"https://github.com/tombuildsstuff/huawei-e5573-mifi-sdk-go","last_synced_at":"2025-04-01T22:28:18.762Z","repository":{"id":142076155,"uuid":"136504827","full_name":"tombuildsstuff/huawei-e5573-mifi-sdk-go","owner":"tombuildsstuff","description":"A bare-bones Go SDK for the Huawei E5573 Mifi.","archived":false,"fork":false,"pushed_at":"2020-07-31T07:41:42.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T14:45:33.409Z","etag":null,"topics":["e5573","golang","huawei","mifi","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"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/tombuildsstuff.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-07T16:36:09.000Z","updated_at":"2024-01-24T04:19:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"1eba240e-91da-4995-b841-d5bbc2b84794","html_url":"https://github.com/tombuildsstuff/huawei-e5573-mifi-sdk-go","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"ff5f992d560c749803c891bbbb34ccb3c7910006"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Fhuawei-e5573-mifi-sdk-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Fhuawei-e5573-mifi-sdk-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Fhuawei-e5573-mifi-sdk-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombuildsstuff%2Fhuawei-e5573-mifi-sdk-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tombuildsstuff","download_url":"https://codeload.github.com/tombuildsstuff/huawei-e5573-mifi-sdk-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246720121,"owners_count":20822852,"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":["e5573","golang","huawei","mifi","sdk"],"created_at":"2024-10-06T01:03:52.627Z","updated_at":"2025-04-01T22:28:18.737Z","avatar_url":"https://github.com/tombuildsstuff.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Go SDK for the Huawei E5573 Mifi\n\nThis is a bare-bones Go SDK for [the Huawei E5573 Mifi](https://consumer.huawei.com/in/support/mobile-broadband/e5573/).\n\n## Example Usage\n\n```\nm := mifi.Mifi{\n\tEndpoint: \"http://192.168.1.1\",\n}\n\nerr := m.ParseCookie()\nif err != nil {\n\treturn fmt.Errorf(\"Error obtaining authentication cookie for Mifi: %+v\", err)\n}\n\nwifiSettings, err := m.WifiSettings()\nif err != nil {\n\treturn fmt.Errorf(\"Error getting Wifi Settings from the Mifi: %+v\", err)\n}\n\nlog.Printf(\"SSID: %q\", wifiSettings.SSID)\nlog.Printf(\"Country: %q\", wifiSettings.Country)\n\ncarrier, err := m.CarrierDetails()\nif err != nil {\n\treturn fmt.Errorf(\"Error getting Carrier Details from the Mifi: %+v\", err)\n}\nlog.Printf(\"Carrier: %q (%q / ID %d)\", carrier.FullName, carrier.ShortName, carrier.CarrierID)\n\nstatus, err := m.CurrentStatus()\nif err != nil {\n\treturn fmt.Errorf(\"Error getting Status from the Mifi: %+v\", err)\n}\n\nlog.Printf(\"Battery Percent: %d\", status.CurrentBatteryPercentage)\nlog.Printf(\"Current Signal: %d / %d\", status.CurrentSignalBars, status.MaxSignalBars)\nlog.Printf(\"Users Connected: %d\", status.NumberOfUsersConnectedToWifi)\n\ntraffic, err := m.TrafficStatistics()\nif err != nil {\n\treturn fmt.Errorf(\"Error retrieving Traffic Statistics: %+v\", err)\n}\n\nlog.Printf(\"Connected for %d seconds..\", traffic.SecondsConnectedToNetwork)\nlog.Printf(\"Total Downloaded: %.2f MB\", traffic.DownloadedMB)\nlog.Printf(\"Total Uploaded %.2f MB\", traffic.UploadedMB)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombuildsstuff%2Fhuawei-e5573-mifi-sdk-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftombuildsstuff%2Fhuawei-e5573-mifi-sdk-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombuildsstuff%2Fhuawei-e5573-mifi-sdk-go/lists"}