Current time: 12-24-2024, 12:59 PM Hello There, Guest! (LoginRegister)


Post Reply 
Is there an API?
Author Message
nardev Offline
Newbie
*

Posts: 6
Joined: Apr 2011
Reputation: 0
Post: #11
RE: Is there an API?
(06-03-2011 07:17 PM)aseques Wrote:  
(06-03-2011 06:08 PM)nardev Wrote:  
(06-03-2011 05:46 PM)aseques Wrote:  
(06-03-2011 01:52 PM)nardev Wrote:  At least primitive functions would make our life much easier.

- create reseller account
- create account under certain reseller
- change account status
- list accounts
- get/set disk quota
- get/set bandwidth quota

Only this few options would be enough for beginning.

In my opinion it should never me much more complicated. Just enough to combine it with billing system.
I was looking some time ago for this, since I couldn't find anything at the moment, I wrote this:
http://isp-control.net/documentation/dev...mmands_cli
It's a set of php scripts that allow you to create almost every component of ispcp (from a domain to a htacces user). The code is not very good but it does the job, and I'm using it on a daily basis.
There's another user that has create something more like an API, but I don't know if it is working or no..

It's great. Thank you very much.

What do you think that since there is no official api. That i make github repository so that maybe some other guys can contribute too?

It's already on bitbucket, you can pick the code from there. I'd be glad to add any changes you made. Also, there are a tone of TODO in the code of things that should be fixed (the most important would be to make it able to get the system variables from the config.
http://bitbucket.org/aseques/ispcp-cli/src

I'll try to contribute. I'm currently in process of building some service where i need this.

Thank you.
06-03-2011 07:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)