{"id":37689072,"url":"https://github.com/skhg/pytescomobileirl","last_synced_at":"2026-01-16T12:39:19.804Z","repository":{"id":55514402,"uuid":"104244608","full_name":"skhg/pytescomobileirl","owner":"skhg","description":"📱Unofficial Python API for accessing your Tesco Mobile Ireland account balance \u0026 usage stats","archived":false,"fork":false,"pushed_at":"2020-12-24T16:54:07.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-25T00:58:13.757Z","etag":null,"topics":["ireland","python-api","tesco-mobile-ireland"],"latest_commit_sha":null,"homepage":"","language":"Python","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/skhg.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}},"created_at":"2017-09-20T17:08:17.000Z","updated_at":"2022-09-04T21:15:15.000Z","dependencies_parsed_at":"2022-08-15T02:10:36.036Z","dependency_job_id":null,"html_url":"https://github.com/skhg/pytescomobileirl","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/skhg/pytescomobileirl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skhg%2Fpytescomobileirl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skhg%2Fpytescomobileirl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skhg%2Fpytescomobileirl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skhg%2Fpytescomobileirl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skhg","download_url":"https://codeload.github.com/skhg/pytescomobileirl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skhg%2Fpytescomobileirl/sbom","scorecard":{"id":829513,"data":{"date":"2025-08-18","repo":{"name":"github.com/skhg/pytescomobileirl","commit":"6d734e86376583268e2c8c57b6d11b41594c2ea7"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/branch-builds.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/branch-builds.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/skhg/pytescomobileirl/branch-builds.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/branch-builds.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/skhg/pytescomobileirl/branch-builds.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/skhg/pytescomobileirl/publish-release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/skhg/pytescomobileirl/publish-release.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/branch-builds.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/publish-release.yml:29","Warn: pipCommand not pinned by hash: .github/workflows/publish-release.yml:30","Warn: pipCommand not pinned by hash: .github/workflows/publish-release.yml:31","Warn: pipCommand not pinned by hash: .github/workflows/publish-release.yml:32","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  11 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T17:21:36.279Z","repository_id":55514402,"created_at":"2025-08-23T17:21:36.279Z","updated_at":"2025-08-23T17:21:36.279Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["ireland","python-api","tesco-mobile-ireland"],"created_at":"2026-01-16T12:39:18.933Z","updated_at":"2026-01-16T12:39:19.782Z","avatar_url":"https://github.com/skhg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pytescomobileirl\n[![PyPI](https://img.shields.io/pypi/v/pytescomobileirl.svg)](https://pypi.python.org/pypi/pytescomobileirl/) [![Codecov](https://img.shields.io/codecov/c/github/skhg/pytescomobileirl.svg)](https://codecov.io/gh/skhg/pytescomobileirl) ![PyPI - Downloads](https://img.shields.io/pypi/dm/pytescomobileirl)\n\nA Python API for accessing your [Tesco Mobile Ireland](http://www.tescomobile.ie) account balance \u0026amp; usage stats. This is an unoffical API and the author/contributors are in no way connected to Tesco or Tesco Mobile. The API provides methods to:\n* Get your current balances (€ credit and voice/text/data packages)\n* Get your usage records as far back as is available.\n\nFor an example of this in use, see my [Tesco Mobile BitBar plugin](https://github.com/skhg/BitBar-Plugins/tree/master/TescoMobileIrl)\n\n## Installation\n`pip install pytescomobileirl`\n\n## Usage\nIt's very easy to use. Try the following to get your balance data:\n```python\nfrom pytescomobileirl import *\nfrom pprint import pprint\n\nsession = pytescomobileirl.TescoSession()\nsession.login(\"\u003cPhoneNumber\u003e\",\"\u003cPassword\u003e\")\nbalances = session.get_balances()\n\nmy_credit = balances.credit_remaining\nmy_data = balances.remaining_total(\"data\")\n\nprint(my_credit)\nprint(my_data.summary())\npprint(vars(my_data))\n```\nreturns:\n```python\n14.28\n939 MB\n{'balance_expires': datetime.datetime(2017, 10, 15, 0, 0),\n 'balance_type': u'data',\n 'is_active': True,\n 'remaining_qty': 939.181640625,\n 'serviceCode': u'AB3',\n 'unit': 'MByte'}\n ```\n \n Or to get your usage history enter:\n ```python\n usage = session.get_usage()\n pprint(vars(usage.records[0]))\n  ```\n  returns:\n  ```python\n  {'called_number': u'tescomobile.liffeytelecom.com',\n 'charge': u'0.0',\n 'country_code': None,\n 'event_date': datetime.datetime(2017, 9, 23, 13, 33),\n 'roaming': False,\n 'service_code': u'GPBAS',\n 'service_name': u'GPRS Basic Service',\n 'unit': u'Bytes',\n 'use_type': u'DATA',\n 'volume': 119896.0}\n ```\n \n ## Tests\n `python ./tests/tests.py`\n \n ## Contributing\n Fork this repo, make some changes and create a new pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskhg%2Fpytescomobileirl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskhg%2Fpytescomobileirl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskhg%2Fpytescomobileirl/lists"}