{"id":13624692,"url":"https://github.com/mattes/inwx-nodejs","last_synced_at":"2025-04-16T01:31:52.814Z","repository":{"id":5428442,"uuid":"6620535","full_name":"mattes/inwx-nodejs","owner":"mattes","description":"InternetWorX XML-RPC API Client for NodeJS","archived":true,"fork":false,"pushed_at":"2014-09-08T17:52:29.000Z","size":493,"stargazers_count":9,"open_issues_count":3,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-26T18:47:29.381Z","etag":null,"topics":["inwx","inwx-nodejs","xml-rpc-api"],"latest_commit_sha":null,"homepage":"https://www.inwx.de","language":"JavaScript","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/mattes.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":"2012-11-09T21:27:15.000Z","updated_at":"2023-03-23T01:56:48.000Z","dependencies_parsed_at":"2022-09-13T08:41:30.221Z","dependency_job_id":null,"html_url":"https://github.com/mattes/inwx-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Finwx-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Finwx-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Finwx-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattes%2Finwx-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattes","download_url":"https://codeload.github.com/mattes/inwx-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223647038,"owners_count":17179202,"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":["inwx","inwx-nodejs","xml-rpc-api"],"created_at":"2024-08-01T21:01:45.266Z","updated_at":"2024-11-08T13:30:59.000Z","avatar_url":"https://github.com/mattes.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"inwx-nodejs\n===========\n\nA Node.js client to connect to [inwx](https://www.inwx.de) XML-RPC API.\n\nInstallation\n------------\n    npm install inwx\n\nOfficial Documentation from InternetWorX\n----------------------------------------\nYou can view a detailed description of the API functions in our documentation. The documentation as PDF ist part of the Projekt. You also can read the documentation online http://www.inwx.de/en/help/apidoc\n\nPrerequisites\n-------------\n * For the production API, you need an account at https://www.inwx.de\n * For the testing API, register a new account at https://ote.inwx.de. You won't be able to use your standard credentials from inwx.de!\n\nUsage\n-----\n\n``` js\nvar inwx = require('inwx');\n\n// set api to production or testing\ninwx({api: \"testing\", user: \"max123\", password: \"pass123\"}, function(api){\n  console.log(\"API is ready\");\n\n  // get account infos\n  api.call(\"account\", \"info\", {}, function(response){\n    console.log(\"account.info response:\");\n    console.log(response);\n  });\n\n  // SOA serial numbers are updated by INWX automatically!\n\n  // create record in nameserver set and delete again\n  // using helper methods\n  // make sure the nameserver for example.com already exists!!\n  api.nameserverRecordHelper(\"example.com\", \"create\", {type: \"A\", name: \"test.example.com\", content: \"192.168.0.1\"}, function(response) {\n    console.log(\"created record:\");\n    console.log(response);\n\n    // so, lets delete it\n    api.nameserverRecordHelper(\"example.com\", \"delete\", {type: \"A\", name: \"test.example.com\", content: \"192.168.0.1\"}, function(response) {\n      console.log(\"deleted record:\");\n      console.log(response);\n    });  \n  });  \n\n  // update record in nameserver   \n  api.nameserverRecordHelper(\"example.com\", \"update\", {content: \"192.168.0.2\"}, {type: \"A\", name: \"sub.example.com\"}, function(response) {\n    console.log(\"updated record sub.example.com with 192.168.0.2:\");\n    console.log(response);\n  });   \n\n  // be aware that calls are made asynchronously! call api.close() when all other calls terminated.\n  // api.close(); // logout \n});\n\n```\n\nSee example.js for more examples.\n\n\nLicense (MIT)\n-------------\nReleased under the MIT license. See the LICENSE file for the complete wording.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Finwx-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattes%2Finwx-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattes%2Finwx-nodejs/lists"}