List of Clients with APIs

Discussion in 'Developers' Forum' started by rapstyle, Dec 13, 2012.

  1. rapstyle

    rapstyle New Member

    Hi guys, for create a panel I need to have a list of clients that I have in the ISPConfig 3.04.6.
    I have searched in the APIs but i don't find nothing.
    I can use client_get for have the information about a determinated client, but for all clients?
    Exist a function for have the total number of clients or for have the information about all clients? Thanks
     
  2. webguyz

    webguyz Active Member HowtoForge Supporter

    Last edited: Dec 13, 2012
  3. rapstyle

    rapstyle New Member

    so for now i can't make this?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats already possible with the current API, so no need for a feature request.

    The _get functions of all item types can be used to query the database for a list of as well.

    Example:

    $client_record = $client->client_get($session_id, array('client_id' => '%'));
     
  5. abdi

    abdi Member

    Wow, been querying the ISPConfig database directly all this while ..thanks for that insight.
     
  6. Xenocide

    Xenocide Member

    That's awesome. Can you quickly right an ASP.net panel? Website panel sort of blows :p
     
  7. abdi

    abdi Member

    right or write?
     
  8. rapstyle

    rapstyle New Member

    great, thank you very much =)
     

Share This Page