Skip to content

FlanZCode/hostmyservers.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

HMS.js logo

๐Ÿ“ฆ A modern module for HostMyServers API, streamlining interactions with users, products, and VPS.

Features

  • See and manage your user details ๐Ÿ‘จโ€๐Ÿ’ป
  • See and manage your products ๐Ÿ“ฆ
  • Soon: See and manage your VPS ๐Ÿ–ฅ๏ธ

Get my API key ๐Ÿ‘ท

You can get a free API key of your profile on HMS website!

Documentation ๐Ÿ“

You can access to the documentation on the "wiki" part of the GitHub or by clicking to this link!

Example ๐Ÿ’ก

  1. First of all, don't forget to install the module!
npm install hostmyservers.js@latest
  1. Enjoy!
const { HMSClient } = require('hostmyservers.js');

const client = new HMSClient(apiKey);

client.user.getLastName()
  .then(data => console.log(data))
  .catch(error => console.error('Error fetching user details:', error));

Contributing ๐Ÿค

  1. Fork the original repository by clicking the โ€œForkโ€ button at the top right of the repository page.

  2. Clone your fork locally: git clone https://github.com/FlanZCode/hostmyservers.js.git

  3. Create a new branch for your changes: git checkout -b my-new-feature

  4. Make your changes in the code.

  5. Commit your changes with a clear message: git commit -m "Description of my changes"

  6. Push your changes to your fork: git push origin my-new-feature

  7. Go to your forkโ€™s page on GitHub and click the โ€œNew pull requestโ€ button.

  8. Describe your changes and submit the pull request.

Credits ๐Ÿ™

License ๐Ÿ“•

This project is licensed under the MIT License. See the LICENSE file for details.

Releases

No releases published

Packages

No packages published