RT REST parser on php (json? xml?)

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)

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:

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)

Older than xml too?

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

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)

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).

I just finished adding a parser to my PHP RT library here:
GitHub - dersam/RTPHPLib: PHP wrapper for the Request Tracker API

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)

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