On 19 January 2011 15:18, Rajarshi Guha <[email protected]> wrote:

> Thanks a lot for the pointer. This pretty much solves my problem -
> however, if I want to use the export method via the API, I need to
> provide a pageid - how would I programmatically obtain the pageid for
> the above page?

The API is not my forte, but looking at

http://en.wikipedia.org/w/api.php

suggests that you can use titles rather than pageids, so that

http://en.wikipedia.org/w/api.php?action=query&pageids=7120&export=&exportnowrap=
http://en.wikipedia.org/w/api.php?action=query&titles=Calreticulin&export=&exportnowrap=

are both equivalent.

-- 
- Andrew Gray
  [email protected]

_______________________________________________
WikiEN-l mailing list
[email protected]
To unsubscribe from this mailing list, visit:
https://lists.wikimedia.org/mailman/listinfo/wikien-l

Reply via email to