Skip to Content Skip to Menu

API for developers (access to uddeIM database)

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 8 months ago #87228 by slabbi
Hi,

I am currently coding a wrapper component to uddeIM functions, so developer can access uddeIM database quite easy.

A first try can be found on SVN:
/trunk/DEVELOPER/uddeim.api.php


Usage is quite easy:

[code:1]$uddeim = new uddeIMAPI ();

$uddeim->isInboxLimitReached($userid);
$uddeim->sendNewMessage($fromid, $toid, $message, $sendnotification=0, $updatelastsent=0);
[/code:1]

Other functions will follow.

Unfortunately I have not enough time to test it. Maybe someone likes to do this and maybe someone (good PHP knowledge required) is able to maintain the API class and maybe to add new functions?

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

15 years 8 months ago #87240 by Deinticker
Replied by Deinticker on topic Re:API for developers (access to uddeIM database)
Just want to say: Niiiiiiiiiice ! Idea :woohoo: Thats all ;)

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
15 years 1 month ago #111383 by p9939068
Nice! May I know this API is available starting from which version of uddeIM?


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
15 years 1 month ago #111427 by slabbi
The API is part of uddeIM 1.7+ package. Nevertheless is it experimental and I have no time to maintain it. Maybe in a future version I will add some more functions.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
15 years 1 month ago #111466 by p9939068
Hmm i can't seem to find the file uddeim.api.php as illustrated on www.joomlapolis.com/component/option,com_joomlaboard/Itemid,/func,view/catid,25/id,109080/#109080


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

  • p9939068
  • p9939068
  • OFFLINE
  • Posts: 186
  • Thanks: 0
  • Karma: 117
15 years 1 month ago #111467 by p9939068
Oh wait, it's a separate file that has to be uploaded together with the 3rd party extension. Wouldn't it be better if the file is distributed together with uddeIM itself?


Mike Feng
Creator of SIMGallery, SIMAnswers, and ParaInvite
www.simbunch.com
twitter.com/simbunch

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum