Sourcerer Implementation Notes

From Geohashing

Using MediaWiki api.php

  1. Hello World!
  2. Return page titles for a specified category
  3. Return template contents from a wiki page
  4. Wiki built-in templates

Some Basic Tasks

Help Page

https://geohashing.site/api.php

JSON Page Content Dump

https://geohashing.site/api.php?format=json&action=query&titles=User:Sourcerer&prop=revisions&rvprop=content

List first twenty of Consecutive geohash achievement

https://geohashing.site/api.php?action=query&list=categorymembers&cmtitle=Category:Consecutive_geohash_achievement&cmlimit=20

List twenty more of Consecutive geohash achievement

https://geohashing.site/api.php?action=query&list=categorymembers&cmtitle=Category:Consecutive_geohash_achievement&cmcontinue=page%7C323030392d30332d31362035322030%7C17773&cmlimit=20

PHP Code - List first twenty of Consecutive geohash achievement - Command line application

<?php
   $html = file_get_contents('https://geohashing.site/api.php?action=query&list=categorymembers&cmtitle=Category:Consecutive_geohash_achievement&cmlimit=20');
   echo $html;
?>

PHP Code - As above but use JSON

<?php
  $json     = file_get_contents('https://geohashing.site/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:Consecutive_geohash_achievement&cmlimit=20');
  $readable = json_decode($json, true);
  print_r($readable);
?>

PHP Expedition as JSON

<?php
  $json     = file_get_contents('https://geohashing.site/api.php?format=json&action=query&titles=2015-02-07_52_1&prop=revisions&rvprop=content');
  $readable = json_decode($json, true);
  print_r($readable);
?>

2009-03-09 52.6171403, 1.2402096
2009-04-23 52.1731974, 1.1564013
2009-11-27 52.8059652, 1.2528146
2010-03-08 52.6117234, 1.3559758
2010-03-24 52.5853265, 1.3542353
2010-03-28 52.7626321, 1.1763295
2010-03-30 52.6277707, 1.2913778
2010-03-31 52.5090957, 1.1379420
2010-06-20 52.6670247, 1.1929691
2010-07-24 52.6328885, 1.4948978
2010-07-25 52.5182129, 1.6414956
2010-08-11 52.3196175, 1.3508862
2010-08-13 52.4590373, 1.3103065
2010-08-17 52.7146890, 1.6946664
2010-08-20 52.5953170, 1.4714244
2010-08-25 52.7488602, 1.6183410
2010-08-27 52.7009501, 1.0454791
2010-09-12 52.3299831, 1.5132765
2010-09-18 52.4477529, 1.3978725
2010-09-20 52.3656959, 1.4888478
2010-09-25 52.1473902, 1.6022272
2010-11-07 52.7609772, 1.5510646
2010-12-07 52.6332503, 1.4608869
2010-12-08 52.4187310, 1.4275476
2010-12-12 52.4447425, 1.6258899
2010-12-24 52.3753123, 1.1643310
2010-12-27 52.4830388, 1.7332708
2010-12-31 52.0690323, 1.0336712
2011-01-27 52.5888717, 1.6707605
2011-02-06 52.0878971, 1.4495572
2011-03-02 52.5684020, 1.1920067
2011-03-08 52.3137817, 1.6663799
2011-03-20 52.3877725, 1.6268758
2011-03-22 52.4149352, 1.4016354
2011-04-01 52.0760312, 1.3007916
2011-04-03 52.3724286, 1.2031979
2011-04-09 52.3338518, 1.1192604
2011-05-01 52.0469730, 1.3310002
2011-05-21 52.3363335, 1.6496377
2011-05-22 52.6495345, 1.5661950
2011-05-26 52.5419800, 1.4904530
2011-06-07 52.4132768, 1.5299640
2011-06-29 52.6736396, 1.5003789
2011-07-03 52.1440572, 1.5689717
2011-07-04 52.4696023, 1.6514400
2011-07-18 52.6128470, 1.4626463
2011-07-20 52.4747509, 1.4949577
2011-08-02 52.5473116, 1.5236232
2011-08-03 52.1063683, 1.2701771
2011-08-16 52.5636154, 1.2262501
2011-10-18 52.2245873, 1.3494440
2011-11-13 52.4990202, 1.5873619
2011-11-23 52.4421760, 1.3965764
2012-01-05 52.5589499, 1.3743233
2012-01-07 52.4703656, 1.4493502
2012-01-21 52.4743653, 1.7163425
2012-02-20 52.4981044, 1.6267383
2012-03-12 52.2660062, 1.0786461
2012-03-19 52.4556227, 1.7159722
2012-03-20 52.4478887, 1.4070098
2012-04-21 52.8800045, 1.1758045
2012-04-27 52.6485173, 1.2801741
2012-05-21 52.5433661, 1.2626120
2012-05-31 52.5973369, 1.4389011
2012-06-19 52.5300098, 1.6209986
2012-06-22 52.0739489, 1.4241655
2012-06-24 52.3918425, 1.4812542
2012-07-05 52.2636138, 1.6028269
2012-07-29 52.5350379, 1.5237714
2012-08-01 52.1561241, 1.4748245
2012-08-16 52.6567681, 1.5583992
2012-09-14 52.8149674, 1.5140635
2012-09-28 52.7978383, 1.4112076
2012-10-03 52.4127320, 1.3520222
2012-12-16 52.8960573, 1.3837762
2013-01-17 52.2166528, 1.4882833
2013-02-10 52.4474374, 1.3490729
2013-02-15 52.5597772, 1.5533424
2013-02-18 52.3750652, 1.4949735
2013-02-19 52.4429599, 1.4515522
2013-02-21 52.5906844, 1.2432712
2013-03-07 52.8385272, 1.3639408
2013-04-14 52.5239406, 1.7271735
2013-04-16 52.7227043, 1.6105782
2013-04-17 52.5891163, 1.7053953
2013-04-28 52.2958254, 1.4715725
2013-05-07 52.6450751, 1.2936325
2013-06-02 52.7328189, 1.6843241
2013-07-08 52.5183087, 1.1703466
2013-07-14 52.3604403, 1.2995779
2013-07-15 52.5865881, 1.7034166
2013-08-13 52.6754905, 1.3881217
2013-08-28 52.3385872, 1.6231009
2013-09-06 52.4282816, 1.5322994
2013-09-22 52.7277410, 1.3791792
2013-09-28 52.5975143, 1.5359618
2013-10-09 52.8699610, 1.3834400
2014-01-19 52.4606060, 1.2545269
2014-01-20 52.4015294, 1.5395423
2014-01-21 52.3156957, 1.2062963
2014-02-07 52.4571314, 1.4735875
2014-03-06 52.8153834, 1.3810186
2014-04-27 52.0703144, 1.2727035
2014-05-10 52.3946230, 1.5524217
2014-05-17 52.7000745, 1.1952239
2014-05-31 52.9179713, 1.3020586
2014-08-12 52.8658306, 1.3123322
2014-08-18 52.0315647, 1.2790066
2014-09-10 52.3448823, 1.1413950
2014-09-18 52.6726037, 1.3723531
2014-11-16 52.1601714, 1.6072346
2014-12-09 52.3730318, 1.3675698
2015-01-10 52.7254662, 1.4416680
2015-01-13 52.1844166, 1.2974203
2015-01-18 52.2551586, 1.3731073
2015-01-22 52.3894811, 1.4126087
2015-01-25 52.7910748, 1.2671470
2015-01-26 52.3370056, 1.4757438
2015-01-28 52.0155413, 1.0065195
2015-01-30 52.3054971, 1.2894899
2015-01-31 52.7737610, 1.0676229
2015-02-01 52.8372956, 1.4917132
2015-02-02 52.4033898, 1.7009610
2015-02-03 52.1443573, 1.1867596
2015-02-05 52.8239232, 1.1753055
2015-02-06 52.5833871, 1.6088116
2015-02-07 52.3620723, 1.5619110
2015-02-10 52.5177324, 1.1509032
2015-02-12 52.3771296, 1.0997762
2015-02-13 52.9176924, 1.3014347
2015-02-15 52.7733735, 1.3738653
2015-02-16 52.3160673, 1.4815053
2015-02-19 52.6663883, 1.2415479
2015-02-21 52.2219379, 1.2449723
2015-02-22 52.8986501, 1.0406906
2015-02-23 52.1268527, 1.3553267
2015-02-25 52.3887025, 1.4125312
2015-02-26 52.7313236, 1.4712510
2015-02-27 52.2028909, 1.9041980
2015-02-28 52.5330389, 1.7681674
2015-03-05 52.4277491, 1.3520480
2015-03-07 52.3495836, 1.2750481
2015-03-10 52.6793148, 1.7139266
2015-03-13 52.4676646, 1.3849940
2015-04-08 52.4231870, 1.5424993
2015-04-09 52.3975994, 1.4458827
2015-04-10 52.7396959, 1.1117356
2015-04-11 52.8442695, 1.2124426
2015-04-16 52.2031393, 1.4238443
2015-04-17 52.2402724, 1.4541937
2015-05-01 52.4536787, 1.3086616
2015-05-03 52.5117818, 1.0578908
2015-05-04 52.8927035, 1.1335856
2015-05-05 52.0723756, 1.1413283
2015-05-06 52.7670552, 1.1415841
2015-05-07 52.5728423, 1.7119334
2015-05-08 52.4928954, 1.6785815
2015-05-10 52.6027466, 1.2611388
2015-05-11 52.6821113, 1.7184362
2015-05-13 52.5542541, 1.5312650
2015-05-14 52.7934498, 1.2355887
2015-05-15 52.5203570, 1.1299525
2015-05-16 52.2901765, 1.1095283
2015-05-18 52.8206488, 1.0056018
2015-05-19 52.1237417, 1.0905021
2015-05-20 52.6724306, 1.6364096
2015-05-21 52.4969583, 1.5328411
2015-05-23 52.4992878, 1.8056535
2015-05-24 52.4497151, 1.6774815
2015-05-26 52.3633171, 1.5401630
2015-05-28 52.8846775, 1.3346916
2015-05-30 52.7080893, 1.2402456
2015-06-01 52.5001180, 1.6271177
2015-06-02 52.3622358, 1.2662186
2015-06-03 52.1525477, 1.3884927
2015-06-04 52.4368996, 1.3258459
2015-06-05 52.3938772, 1.6864041
2015-06-09 52.4018270, 1.1962147
2015-06-10 52.7956071, 1.2885037
2015-06-11 52.2128956, 1.3635839
2015-06-12 52.6096998, 1.0112412
2015-06-13 52.2367668, 1.2163769
2015-06-14 52.4699183, 1.5036281
2015-06-15 52.0067161, 1.1345829
2015-06-24 52.3491501, 1.3503810
2015-06-25 52.1365838, 1.0908543
2015-06-26 52.9558491, 1.0568826
2015-06-28 52.1041680, 1.1525844
2015-07-02 52.5298621, 1.1727808
2015-07-03 52.7285320, 1.6867188
2015-07-04 52.6883163, 1.0798258
2015-07-06 52.9388200, 1.2536000
2015-07-07 52.0520183, 1.4243895
2015-07-08 52.4554961, 1.1906588
2015-07-13 52.1072906, 1.0731050
2015-07-14 52.7479969, 1.3157699
2015-07-17 52.5124496, 1.0433368
2015-07-19 52.4417786, 1.2674051
2015-07-21 52.7605390, 1.5481940
2015-07-22 52.5441048, 1.4118321