{"id":16525526,"url":"https://github.com/andrewn/radiotag-node-tester","last_synced_at":"2026-06-08T12:01:47.368Z","repository":{"id":19958052,"uuid":"23224933","full_name":"andrewn/radiotag-node-tester","owner":"andrewn","description":null,"archived":false,"fork":false,"pushed_at":"2014-09-08T17:32:18.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-03T02:25:01.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/andrewn.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":"2014-08-22T12:42:00.000Z","updated_at":"2015-02-24T23:44:28.000Z","dependencies_parsed_at":"2022-08-31T06:01:29.966Z","dependency_job_id":null,"html_url":"https://github.com/andrewn/radiotag-node-tester","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrewn/radiotag-node-tester","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fradiotag-node-tester","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fradiotag-node-tester/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fradiotag-node-tester/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fradiotag-node-tester/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewn","download_url":"https://codeload.github.com/andrewn/radiotag-node-tester/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewn%2Fradiotag-node-tester/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34061123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-10-11T17:03:50.246Z","updated_at":"2026-06-08T12:01:47.343Z","avatar_url":"https://github.com/andrewn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A small utility for testing cpa.js and radiotag.js in node.js\n\nInstall\n--\n\n    npm install\n\nTo use local radiotag.js:\n\n    npm link radiotag.js\n\nTo use local cpa.js:\n\n    npm link cpa.js\n\nConfigure and use\n--\n\n    cp config.json.example config.json\n\n### Entire flow:\n\nTo test the entire CPA -\u003e radiotag flow then the minimum config you'll need is:\n\n    {\n      \"radiotag\" : {\n        \"EBU\": {\n          \"stationId\": \"0.c222.ce15.ce1.dab\",\n          \"uri\": \"http://bbc1-cpa.ebu.io/\"\n        }\n      }\n    }\n\nThen run:\n\n    SERVER=EBU bin/flow\n\nThe entire CPA flow will run, prompting you with a URL and user code on the command line when necessary. When an access code is acuired then a tag will be made.\n\n### Radiotag only\n\nYou can test any part of the radiotag.js API by adding a valid server URI, station ID and access token in the `radiotag` section of the config.\n\nThen run:\n\n    SERVER=\u003cname\u003e bin/radiotag \u003caction\u003e\n\ne.g.\n\n    SERVER=BBC bin/radiotag auth\n\n    stationId 0.c222.ce15.ce1.dab\n    accessToken ...\n    uri ...\n    null 'https://radiotag.api.bbci.co.uk/ap/' { client: false, user: true, anonymous: false }\n\n### CPA only\n\nYou can test any part of the cpa.js API by adding valid keys in the `cpa` section of the config.\n\nThen run:\n\n    SERVER=\u003cname\u003e bin/cpa \u003caction\u003e\n\ne.g.\n\n    SERVER=BBC bin/cpa register\n\n    authProvider https://auth-cpa.ebu.io/\n    clientName My CPA device\n    clientId 100054\n    clientSecret f8960c7c324588145e5ba627d3abd1ed\n    domain bbc1-cpa.ebu.io\n    softwareId cpa-radiotag-node-test\n    softwareVersion 0.0.0\n    Register success: client_id: 1039455   client_secret: d6560b27efe15df67af0a14c2a90b9cc\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fradiotag-node-tester","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewn%2Fradiotag-node-tester","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewn%2Fradiotag-node-tester/lists"}