Skip to content

Get changes from a specific date only for pages with geo location #70

@HarelM

Description

@HarelM

My use cause:
I'm using geosearch to get all the points in a certain area.
For each point I get the extended data I need and store it in the database (A mirroring of some sort only with the data I truly need - pages with geo location).
Later on I would like to know what items were updated or added from a specific point in time.
I'm not sure if there's an easy API to know what was added and what was updated given a specific date and then I'll need to test which page has geo location or to get the revisions list of a geoserach results.
In any case, I need to do a database incremental update given a specific date.
Any advise would be welcome :-)
I haven't found an option to add more props to geosearch generator.
Here's an example to a query:
/w/api.php?action=query&format=json&prop=coordinates%7Cpageimages%7Crevisions&generator=geosearch&ggscoord=37.7891838%7C-122.4033522
This page too:
https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=coordinates%7Cpageimages%7Crevisions&generator=geosearch&ggscoord=37.7891838%7C-122.4033522

I'm not sure this is the right solution though...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions