{"id":37676291,"url":"https://github.com/internap/js-ubersmithclient","last_synced_at":"2026-01-16T12:14:29.473Z","repository":{"id":57283850,"uuid":"82109007","full_name":"internap/js-ubersmithclient","owner":"internap","description":"A simple js ubersmith client","archived":false,"fork":false,"pushed_at":"2017-02-22T21:33:20.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-07T07:50:32.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/internap.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":"2017-02-15T21:32:01.000Z","updated_at":"2017-02-16T21:10:47.000Z","dependencies_parsed_at":"2022-09-19T22:54:35.472Z","dependency_job_id":null,"html_url":"https://github.com/internap/js-ubersmithclient","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/internap/js-ubersmithclient","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internap%2Fjs-ubersmithclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internap%2Fjs-ubersmithclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internap%2Fjs-ubersmithclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internap%2Fjs-ubersmithclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/internap","download_url":"https://codeload.github.com/internap/js-ubersmithclient/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/internap%2Fjs-ubersmithclient/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478528,"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":[],"created_at":"2026-01-16T12:14:29.372Z","updated_at":"2026-01-16T12:14:29.451Z","avatar_url":"https://github.com/internap.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# js-ubersmithclient\n\n[![Build Status](https://travis-ci.org/internap/js-ubersmithclient.svg?branch=master)](https://travis-ci.org/internap/js-ubersmithclient)\n\nRewrite of python-ubersmithclient in everyone's favorite language\n\n## Usage\n\n```javascript\nconst UbersmithClient = require('js-ubersmithclient');\nconst ubClient = new UbersmithClient(url, user, password, timeout, use_http_get);\n\nubClient.client.list({client_id: 12345})  // returns a Promise\n    .then(res =\u003e {\n        console.log(res);\n        // {\n        //     \"12345\": {\"clientid\": \"12345\", \"first\":\"\", \"last\":\"\", ...}\n        // }\n    })\n    .catch(err =\u003e {\n        console.log(err);\n    });\n\n```\n\n## Constructor args\n\n- url: Ubersmith Base URL, e.g. `http://ubersmith.com`\n- user: Ubersmith API username\n- password: Ubersmith API password\n- timeout: Request timeout length, in seconds (default: 60)\n- use_http_get: Whether to GET or POST to Ubersmith (default: false, i.e. use POST)\n\n## UB API method args\n\nThey must be passed in an Object, e.g. `client.list({client_id: 12345, brand_id: 6789})`\n\n## TODO\n\n- Wayyyyy moar tests\n- Probably separate things into more than one file","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternap%2Fjs-ubersmithclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finternap%2Fjs-ubersmithclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finternap%2Fjs-ubersmithclient/lists"}