Current time: 05-06-2024, 09:09 AM Hello There, Guest! (LoginRegister)


Post Reply 
Is there an API?
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #10
RE: Is there an API?
(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
06-03-2011 07:17 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Is there an API? - gacott - 01-20-2010, 07:17 AM
RE: Is there an API? - joximu - 01-20-2010, 09:08 AM
RE: Is there an API? - gacott - 01-20-2010, 03:22 PM
RE: Is there an API? - joximu - 01-20-2010, 06:34 PM
RE: Is there an API? - Shin - 01-20-2010, 07:01 PM
RE: Is there an API? - joximu - 01-23-2010, 11:59 PM
RE: Is there an API? - nardev - 06-03-2011, 01:52 PM
RE: Is there an API? - aseques - 06-03-2011, 05:46 PM
RE: Is there an API? - nardev - 06-03-2011, 06:08 PM
RE: Is there an API? - aseques - 06-03-2011 07:17 PM
RE: Is there an API? - nardev - 06-03-2011, 07:46 PM

Forum Jump:


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