RT REST parser on php (json? xml?)


#1

Hi,

I’d like to know if there are scripts, o code on php to parse RT REST.
It’s difficult to do it from php without having to build a parser.
Does anybody knows one?

I have seen many restful app which are using xml or json. There are a
lot of interfaces to do the parsing job in these cases.

Why RT don’t uses that sort of specs?

Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183

smime.p7s (2.27 KB)


#2

I’d like to know if there are scripts, o code on php to parse RT REST.
It’s difficult to do it from php without having to build a parser. Does
anybody knows one?

I have seen many restful app which are using xml or json. There are a
lot of interfaces to do the parsing job in these cases.

Why RT don’t uses that sort of specs?

I can’t help you with PHP, but the reason RT’s REST-like interface
doesn’t use JSON is because it predates JSON. :wink:


#3

I’d like to know if there are scripts, o code on php to parse RT REST.
It’s difficult to do it from php without having to build a parser. Does
anybody knows one?

I have seen many restful app which are using xml or json. There are a
lot of interfaces to do the parsing job in these cases.

Why RT don’t uses that sort of specs?

I can’t help you with PHP, but the reason RT’s REST-like interface
doesn’t use JSON is because it predates JSON. :wink:

Older than xml too?

Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183

smime.p7s (2.27 KB)


#4

Older than xml too?

No… which is why I didn’t say that.


#5

Older than xml too?

No… which is why I didn’t say that.

Thanks for your useful help.

Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183

smime.p7s (2.27 KB)


#6

I just finished adding a parser to my PHP RT library here:

It should parse most responses from RT into an array (at least as far as
I’ve tested).


#7

I just finished adding a parser to my PHP RT library here:
https://github.com/dersam/RTPHPLib

It should parse most responses from RT into an array (at least as far
as I’ve tested).

Cool!

I’ll test it and tell you about the experience.

Thanks for your contrib

Atte.
Andres Altamirano
Subdirección Innovación Tecnológica
Dirección de Informática
Pontificia Universidad Católica de Chile
Campus San Joaquin. Vicuña Mackena 4860
Fono: +56 2 3547183

smime.p7s (2.27 KB)


#8

I think you should try Informatica read rest API . Hope you will get ans under one roof.