https://github.com/peterhellberg/glesys
Go library for the GleSYS API
https://github.com/peterhellberg/glesys
Last synced: about 1 month ago
JSON representation
Go library for the GleSYS API
- Host: GitHub
- URL: https://github.com/peterhellberg/glesys
- Owner: peterhellberg
- Created: 2015-05-20T20:20:40.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-04T11:37:37.000Z (almost 11 years ago)
- Last Synced: 2025-12-01T21:38:12.392Z (7 months ago)
- Language: Go
- Size: 172 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.go
Awesome Lists containing this project
README
***Warning: This library should not be used just yet***
# glesys
Go library for the [GleSYS API](https://github.com/GleSYS/API)
[](https://godoc.org/github.com/peterhellberg/glesys)
[](https://github.com/peterhellberg/glesys#license-mit)
## Installation
```bash
go get -u github.com/peterhellberg/glesys
```
## API Modules
I’ll (slowly) work my way through implementing the code for handling each module/endpoint in the GleSYS API.
### [account](https://github.com/GleSYS/API/wiki/functions_account)
- [ ] changepassword
- [x] info
### [api](https://github.com/GleSYS/API/wiki/functions_api)
- [x] maintenance
- [x] serviceinfo
- [x] listfunctions
### [archive](https://github.com/GleSYS/API/wiki/functions_archive)
- [ ] details
- [ ] delete
- [ ] list
- [ ] create
- [ ] changepassword
- [ ] resize
- [ ] changedescription
- [ ] allowedarguments
### [changelog](https://github.com/GleSYS/API/wiki/functions_changelog)
- [x] api
- [x] controlpanel
### [contactperson](https://github.com/GleSYS/API/wiki/functions_contactperson)
- [x] list
- [x] add
- [x] edit
- [x] delete
### [customer](https://github.com/GleSYS/API/wiki/functions_customer)
- [x] contactinfo
### [domain](https://github.com/GleSYS/API/wiki/functions_domain)
- [ ] list
- [ ] add
- [ ] register
- [ ] transfer
- [ ] renew
- [ ] setautorenew
- [ ] details
- [ ] available
- [ ] pricelist
- [ ] edit
- [ ] delete
- [ ] updaterecord
- [ ] listrecords
- [ ] addrecord
- [ ] deleterecord
- [ ] allowedarguments
- [ ] changenameservers
- [ ] legacywebhosting
### [email](https://github.com/GleSYS/API/wiki/functions_email)
- [ ] overview
- [ ] globalquota
- [ ] list
- [ ] editaccount
- [ ] delete
- [ ] createaccount
- [ ] quota
- [ ] createalias
- [ ] editalias
- [ ] costs
### [invoice](https://github.com/GleSYS/API/wiki/functions_invoice)
- [ ] allowedarguments
- [ ] billingperiod
- [ ] settings
- [ ] list
- [ ] next
- [ ] paymenthistory
- [ ] paybycard
- [ ] paybypaypal
### [ip](https://github.com/GleSYS/API/wiki/functions_ip)
- [x] listfree
- [ ] listown
- [ ] details
- [ ] take
- [ ] release
- [ ] add
- [ ] remove
- [ ] setptr
- [ ] resetptr
### [livechat](https://github.com/GleSYS/API/wiki/functions_livechat)
- [ ] newsession
- [ ] getmessages
- [ ] closesession
- [ ] postmessage
- [ ] status
- [ ] sessioninfo
### [loadbalancer](https://github.com/GleSYS/API/wiki/functions_loadbalancer)
- [ ] list
- [ ] details
- [ ] create
- [ ] edit
- [ ] addfrontend
- [ ] editfrontend
- [ ] addbackend
- [ ] editbackend
- [ ] addtarget
- [ ] removetarget
- [ ] enabletarget
- [ ] disabletarget
- [ ] edittarget
- [ ] removebackend
- [ ] removefrontend
- [ ] destroy
- [ ] addcertificate
- [ ] removecertificate
- [ ] listcertificate
### [paymentcard](https://github.com/GleSYS/API/wiki/functions_paymentcard)
- [ ] list
- [ ] delete
- [ ] edit
- [ ] add
### [server](https://github.com/GleSYS/API/wiki/functions_server)
- [x] list
- [ ] details
- [ ] status
- [ ] backup
- [ ] reboot
- [ ] stop
- [ ] start
- [ ] create
- [ ] destroy
- [ ] edit
- [ ] clone
- [ ] limits
- [ ] resetlimit
- [ ] console
- [ ] resetpassword
- [ ] templates
- [ ] allowedarguments
- [ ] resourceusage
- [ ] costs
- [ ] listiso
- [ ] mountiso
- [ ] addiso
### [sshkey](https://github.com/GleSYS/API/wiki/functions_sshkey)
- [ ] add
- [ ] list
- [ ] remove
### [transaction](https://github.com/GleSYS/API/wiki/functions_transaction)
- [ ] list
- [ ] cancel
- [ ] start
- [ ] acknowledge
### [user](https://github.com/GleSYS/API/wiki/functions_user)
These functions requires you to be logged in as a user. User credentials from user/login
- [ ] details
- [ ] edit
- [ ] login
- [ ] logout
- [ ] enabletwofactor
- [ ] disabletwofactor
- [ ] changepassword
### [vpn](https://github.com/GleSYS/API/wiki/functions_vpn)
- [ ] listusers
- [ ] createuser
- [ ] deleteuser
- [ ] edituser
## License (MIT)
Copyright (c) 2015 [Peter Hellberg](http://c7.se/)
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.