Hi…I’m trying to learn ARI programming with PHPARI or PY-ARI…Has anyone developed any application with these libraries?
I’m looking for some examples to study…obviously paying…
I wouldn’t recommend PHP for event-driven programming. Python makes things easier, because of its coroutines and asyncio
event framework.
For example, here is how you might originate a call and report the result:
async def main() :
conn = await seaskirt.StasisAsync \
(
username = user,
password = password,
timeout = timeout,
debug = debug
)
response = await conn.request \
(
method = RESTMETHOD.POST,
path = "/channels",
params =
{
"endpoint" : channel,
"extension" : extension,
"context" : context,
"timeout" : timeout,
}
)
sys.stdout.write("dial response = %s\n" % repr(response))
await conn.close()
#end main
More such examples here.
thanks a lot…Have you got working examples ? Such as real life application ?