رہنمائے میڈیاویکی اےپی‌آئی

ذیل میں میڈیاویکی اےپی‌آئی کی دستاویزی تفصیلات درج ہیں جو خودکار طور پر لکھی گئی ہیں۔

دستاویز اور مثالوں کے لیے ملاحظہ فرمائیں: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

prop=coordinates (co)

(main | query | coordinates)
  • اس ماڈیول کے لیے اختیارات مطالعہ درکار ہیں۔
  • ماخذ: GeoData
  • اجازت نامہ: WTFPL

Returns coordinates of the given pages.

مخصوص پیرامیٹر:
دیگر عمومی پیرامیٹر دستیاب ہیں۔
colimit

How many coordinates to return.

طرز: عدد صحیح یا max
The value must be between 1 and 500.
طے شدہ: 10
cocontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

coprop

Which additional coordinate properties to return. (Properties that are always returned: lat, lon, and either primary or secondary as a boolean flag.)

type
Type of the object the coordinates point to. See mw:Special:MyLanguage/Extension:GeoData#Usage for details.
name
چیز کا نام
dim
Approximate size of the object in meters.
country
ISO 3166-1 alpha-2 country code (e.g. US or RU).
region
ISO 3166-2 region code (the part of the ISO 3166-2 code after the dash; e.g. FL or MOS).
globe
Which terrestrial body the coordinates are relative to (e.g. moon or pluto). Defaults to Earth. See mw:Special:MyLanguage/Extension:GeoData#Glossary for details.
قدریں (| سے امتیاز کیا گیا ہے یا متبادل): country، dim، globe، name، region، type
طے شدہ: globe
coprimary

Which kind of coordinates to return.

primary
The location of the subject of the article. There is at most one primary coordinate per title.
secondary
The location of some object that's mentioned in the article. Any number of secondary coordinates can be associated with a title.
all
Return both primary and secondary coordinates.
ذیل کی قدروں میں سے کوئی ایک: all، primary، secondary
طے شدہ: primary
codistancefrompoint

Return distance in meters from the geographical coordinates of every valid result from the given coordinates.

Format: Latitude and longitude separated by pipe (|).

codistancefrompage

Return distance in meters from the geographical coordinates of every valid result from the coordinates of this page.