2

using openX api which api is better way v1 or v2 ?

d-man
  • 57,473
  • 85
  • 212
  • 296

1 Answers1

2

I've read that v1 is deprecated. Also v2 has some API calls (related to trackers) which does not exists in v1. v2 seems the obvious solution for me.

Cornel Creanga
  • 5,311
  • 1
  • 22
  • 28
  • can you tell me any link where it is written that v1 is depreciated ? please also tell me that v2 having dependency over groovy is there any java native calls for v2 ? – d-man Mar 03 '11 at 04:47
  • http://developer.openx.org/wiki/display/API/Home. "As of OpenX 2.7, the API v1 is deprecated. The API v2 uses a single XML-RPC endpoint and allows the API to be extended using plugins" – Cornel Creanga Mar 03 '11 at 08:07
  • can i use api v2 with native java code i don't want to make groovy calls – d-man Mar 03 '11 at 08:42
  • I answered on the other question - yes you can. – Cornel Creanga Mar 03 '11 at 08:55
  • thanks very much for the response, can you give me any tutorial url using api v2 with java-xml rpc client library. – d-man Mar 03 '11 at 09:03
  • There is no tutorial from what I know. If you have specific question I can answer to them. – Cornel Creanga Mar 03 '11 at 09:07
  • Oh yes now i know we need to call api v2 methods with ox.login for example and library will remain same as we use for v1, i am gr8full to you, you solved my biggest problem. – d-man Mar 03 '11 at 09:10