Combell API client for node.js. Combell.be is a Belgian hosting provider used by a client of mine. When I noticed the API ( documented here ) while working in the control panel I finally found an interesting, personal, learning project.
I hope my effort proofs to be useful for other node.js projects or as a learning resource.
-- Bram Plessers
git clonethis repo on your machinecdinto the project folder ( probably namedcombell-api)yarnto install all dependencies ( how to install )- build the project by running
gulp scripts( which avoidseslint) - copy
.env.exampleto.envand edit it's contents ( get your api key here ) - run the main entry point with
yarn run combell
$ yarn run combell
[ { id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' },
{ id: 012345, identifier: 'some.domain.tld' } ]
✨ Done in 0.66s.For an example integration for your project check examples/node/index.js.
The library allows calling the index and show actions of Account, Domain and Hosting. You can pass URL variables and / or query parameters, but the library's entry point ( combell.js ) acts as a wrapper to make things easier to use.
Additional endpoints are in the making.