{"id":25668510,"url":"https://github.com/borud/horde-device-loader","last_synced_at":"2025-06-20T05:38:45.806Z","repository":{"id":149426408,"uuid":"167833881","full_name":"borud/horde-device-loader","owner":"borud","description":"Sample bulk loader for NB-IoT service","archived":false,"fork":false,"pushed_at":"2019-06-19T20:39:25.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-31T12:57:32.135Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/borud.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":"2019-01-27T16:59:37.000Z","updated_at":"2024-06-19T08:01:25.978Z","dependencies_parsed_at":null,"dependency_job_id":"b9301a87-b971-4a3d-a58f-c072b3df68b9","html_url":"https://github.com/borud/horde-device-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/borud/horde-device-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fhorde-device-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fhorde-device-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fhorde-device-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fhorde-device-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borud","download_url":"https://codeload.github.com/borud/horde-device-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borud%2Fhorde-device-loader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260890581,"owners_count":23077863,"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":[],"created_at":"2025-02-24T10:34:34.878Z","updated_at":"2025-06-20T05:38:40.790Z","avatar_url":"https://github.com/borud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sample bulk loader for Horde\n\nThis program is a sample bulk loader for adding devices to a given\ncollection by reading them from a CSV file.  The CSV file must\ncontain, in order, the following fields:\n\n  - Device name\n  - IMEI\n  - IMSI\n  \nA sample input file might look something like this:\n\n    \"Test Device 1\",111122223333,555566667777\n    \"Test Device 2\",222233334444,666677778888\n\n# Building\n\nThis program depends on the NB-IoT client clibrary for the NB-IoT\nservice, which can be installed by issuing the command:\n\n    go get -u github.com/telenordigital/nbiot-go\n\t\nYou can then build the program by running\n\n    go build\n\t\n# Configuring access\n\nBefore running this program you must generate an appropriate API Token\nand either put the token into the `.telenor-nbiot` file or set the\n`TELENOR_NBIOT_TOKEN` environment variable.\n\nSee the documentation for\nthe [Go Library](https://github.com/telenordigital/nbiot-go) for more\ninformation about the configuration file.\n\nYou can create an API Token by going to the \"API tokens\" menu on\nhttps://nbiot.engineering/ and following the instructions.  It is\nrecommended that you limit the scope of your API Tokens so they have\nas limited privileges as possible.\n\n\n# Running\n\nOnce you have created an API Token and either created a config file or\nset the environment variable you find the Collection ID you want to\nload devices into via the user interface and then run the binary with\nthe following command line options:\n\n    ./horde-device-loader -csv \u003cCSV filename\u003e -collection \u003ccollection id\u003e\n\t\n\n# Caveats\n\nThis is, as mentioned above, an example of how you can write a bulk\nloader just to demonstrate how the API can be used.  In a real\nbulk-loader you want to take a bit more care with the output so that\nit is easier to write a parser for the output.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fhorde-device-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborud%2Fhorde-device-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborud%2Fhorde-device-loader/lists"}