{"id":31797098,"url":"https://github.com/iptv-org/sdk","last_synced_at":"2026-04-15T23:00:49.275Z","repository":{"id":316917723,"uuid":"1065335739","full_name":"iptv-org/sdk","owner":"iptv-org","description":"JavaScript library to query data from iptv-org/api","archived":false,"fork":false,"pushed_at":"2026-04-11T22:54:34.000Z","size":572,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-12T00:33:03.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iptv-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-27T14:15:13.000Z","updated_at":"2026-04-11T22:54:37.000Z","dependencies_parsed_at":"2025-09-27T16:16:48.248Z","dependency_job_id":"b6153db8-4179-408d-9b61-a24584080d32","html_url":"https://github.com/iptv-org/sdk","commit_stats":null,"previous_names":["iptv-org/sdk"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/iptv-org/sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptv-org%2Fsdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptv-org%2Fsdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptv-org%2Fsdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptv-org%2Fsdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iptv-org","download_url":"https://codeload.github.com/iptv-org/sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iptv-org%2Fsdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":[],"created_at":"2025-10-10T20:55:40.183Z","updated_at":"2026-04-15T23:00:49.264Z","avatar_url":"https://github.com/iptv-org.png","language":"TypeScript","funding_links":["https://opencollective.com/iptv-org"],"categories":[],"sub_categories":[],"readme":"# SDK [![publish](https://github.com/iptv-org/sdk/actions/workflows/publish.yml/badge.svg)](https://github.com/iptv-org/sdk/actions/workflows/publish.yml)\n\nJavaScript library to query data from [iptv-org/api](https://github.com/iptv-org/api).\n\n## Installation\n\n```sh\nnpm install @iptv-org/sdk\n```\n\n## Quick Start\n\n```js\nimport sdk from '@iptv-org/sdk'\n\nconst client = new sdk.Client()\n\nawait client.load()\n\nconst data = client.getData()\n\nconsole.log(data.streams.all())\n```\n\nResults:\n\n```jsonc\n[\n  {\n    \"channel\": null,\n    \"feed\": null,\n    \"title\": \"Iman TV\",\n    \"url\": \"https://live.relentlessinnovations.net:1936/imantv/imantv/playlist.m3u8\",\n    \"referrer\": null,\n    \"user_agent\": null,\n    \"quality\": \"480p\",\n    \"label\": \"Geo-blocked\"\n  }\n  //...\n]\n```\n\n## Usage\n\n### Get entities\n\n```js\nimport sdk from '@iptv-org/sdk'\n\nconst client = new sdk.Client()\n\nawait client.load()\n\nconst data = client.getData()\n\nconst {\n  channels,\n  feeds,\n  logos,\n  streams,\n  guides,\n  categories,\n  languages,\n  countries,\n  subdivisions,\n  cities,\n  regions,\n  timezones,\n  blocklist\n} = data\n```\n\nAll data is contained in the helper class [Collection](https://github.com/freearhey/core-js/blob/master/docs/classes/Collection.md), which makes it easy to filter and sort items:\n\n```js\nconst filtered = channels\n  .filter(channel =\u003e channel.country === 'FR')\n  .sortBy(channel =\u003e channel.name)\n  .all()\n\nconsole.log(filtered)\n```\n\nEach element of the collection also has a set of useful methods:\n\n```js\nconst channels = countries.first().getChannels()\n\nconsole.log(channels)\n```\n\nA complete list of available methods can be found in the [documentation](docs/@iptv-org/namespaces/Models/README.md).\n\n### Search channels\n\n```js\nimport sdk from '@iptv-org/sdk'\n\nconst client = new sdk.Client()\n\nawait client.load()\n\nconst results = client.searchChannels('cat')\n\nconsole.log(results)\n```\n\n## Testing\n\n```sh\nnpm test\n```\n\n## Contribution\n\nIf you find a bug or want to contribute to the code or documentation, you can help by submitting an [issue](https://github.com/iptv-org/api/issues) or a [pull request](https://github.com/iptv-org/api/pulls).\n\nAnd thank you to everyone who has already contributed!\n\n### Backers\n\n\u003ca href=\"https://opencollective.com/iptv-org\"\u003e\u003cimg src=\"https://opencollective.com/iptv-org/backers.svg?width=890\" /\u003e\u003c/a\u003e\n\n### Contributors\n\n\u003ca href=\"https://github.com/iptv-org/iptv/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/iptv-org/contributors.svg?width=890\" /\u003e\u003c/a\u003e\n\n## License\n\n[![CC0](http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/cc-zero.svg)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiptv-org%2Fsdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiptv-org%2Fsdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiptv-org%2Fsdk/lists"}