-
Notifications
You must be signed in to change notification settings - Fork 147
/
Copy pathmediawiki-export.xml
8712 lines (6494 loc) · 464 KB
/
mediawiki-export.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/xml/export-0.3.xsd" version="0.3" xml:lang="en">
<siteinfo>
<sitename>OpenSearch</sitename>
<base>http://www.opensearch.org/Home</base>
<generator>MediaWiki 1.10.0</generator>
<case>first-letter</case>
<namespaces>
<namespace key="-2">Media</namespace>
<namespace key="-1">Special</namespace>
<namespace key="0" />
<namespace key="1">Talk</namespace>
<namespace key="2">User</namespace>
<namespace key="3">User talk</namespace>
<namespace key="4">OpenSearch</namespace>
<namespace key="5">OpenSearch talk</namespace>
<namespace key="6">Image</namespace>
<namespace key="7">Image talk</namespace>
<namespace key="8">MediaWiki</namespace>
<namespace key="9">MediaWiki talk</namespace>
<namespace key="10">Template</namespace>
<namespace key="11">Template talk</namespace>
<namespace key="12">Help</namespace>
<namespace key="13">Help talk</namespace>
<namespace key="14">Category</namespace>
<namespace key="15">Category talk</namespace>
</namespaces>
</siteinfo>
<page>
<title>About</title>
<id>1407</id>
<revision>
<id>1421</id>
<timestamp>2006-07-23T00:53:42Z</timestamp>
<contributor>
<username>DeWitt</username>
<id>2</id>
</contributor>
<comment>[[About]] moved to [[About OpenSearch.org]]</comment>
<text xml:space="preserve">#REDIRECT [[About OpenSearch.org]]</text>
</revision>
</page>
<page>
<title>About OpenSearch.org</title>
<id>1406</id>
<revision>
<id>1903</id>
<timestamp>2007-02-10T02:51:12Z</timestamp>
<contributor>
<username>DeWitt</username>
<id>2</id>
</contributor>
<comment>/* Colophon */</comment>
<text xml:space="preserve">==Credits==
The [http://opensearch.org/ opensearch.org] website was created by [http://a9.com A9.com, Inc.], an [http://www.amazon.com Amazon.com] company.
This site is maintained by members of the [[Community/OpenSearch community|OpenSearch community]].
==Colophon==
This website is powered by [http://www.mediawiki.org/wiki/MediaWiki MediaWiki].
==Contributing==
Please read the [[Community/Guidelines|community guidelines]] if you would like to contribute to this website.</text>
</revision>
</page>
<page>
<title>Community/Guidelines</title>
<id>1459</id>
<revision>
<id>1971</id>
<timestamp>2007-12-22T15:10:34Z</timestamp>
<contributor>
<username>DeWitt</username>
<id>2</id>
</contributor>
<minor/>
<comment>Reverted edits by [[Special:Contributions/Trafficdiffusion|Trafficdiffusion]] ([[User talk:Trafficdiffusion|Talk]]); changed back to last version by [[User:DeWitt|DeWitt]]</comment>
<text xml:space="preserve">==Getting started==
OpenSearch.org is designed to offer the community a place to discover and contribute to the OpenSearch effort.
This site is powered by [http://mediawiki.org MediaWiki], the same [http://en.wikipedia.org/wiki/Wiki Wiki] software that is used to power [http://wikipedia.org Wikipedia]. As such, it offers you, the reader, an opportunity to contribute back.
If you would like to contribute, either by suggesting improvements and corrections, or by adding new content of your own, you will first need to create an account. Please use the [[Special:Userlogin|Log in]] form to add yourself to the list of [[Community/OpenSearch_community|OpenSearch.org editors]].
As the content on OpenSearch.org will be considered by many to be canonical, it is important that we work together to offer only the best advice for OpenSearch users.
Certain pages, such as the OpenSearch 1.1 specification itself, and any other "permanent" page, are [http://meta.wikimedia.org/wiki/Protected_pages protected] to prevent against unexpected changes. If you would like to comment on a protected page, please use the associated [http://meta.wikimedia.org/wiki/Talk_pages Talk page].
==House rules==
* Please only post content related to OpenSearch.
:: This site is here exclusively for information about OpenSearch. [http://wikipedia.org Wikipedia] is a great place for other topics.
* Please do not post spam or commercial content and/or links.
:: Doing so will get your account and your IP banned nearly instantly, so please, don't.
* Please respect other people and their work.
:: Use your best judgement if editing a page. Typos and grammar fixes are usually safe. Pointers to additional information are welcome (in the appropriate places). Please be especially careful if you are making an edit that could change the meaning or interpretation of existing work.
* Please do not plagiarize.
:: Be sure to give credit where credit is due.
* Please post content in the right place.
:: If you would like to propose a new OpenSearch extension, please follow the [[Community/Proposal guidelines|proposal guidelines]].
* Please err on the side of caution.
:: Use the Talk pages to ask questions if you are not sure about a change. It is much better to start a dialog than to see an [http://en.wikipedia.org/wiki/Wikipedia:Edit_war edit war] break out.
==Reminder==
A reminder that this is site is an optimistic experiment. If it turns out that running a community wiki is subject to abuse then plans will have to adjust accordingly. But in the meantime, thank you, have fun, and welcome to OpenSearch.org!</text>
</revision>
</page>
<page>
<title>Community/JSON Formats</title>
<id>1700</id>
<revision>
<id>2239</id>
<timestamp>2009-07-23T18:58:19Z</timestamp>
<contributor>
<username>DeWitt</username>
<id>2</id>
</contributor>
<comment>/* The New York Times Article Search API */</comment>
<text xml:space="preserve">A list of existing JSON serializations of search results.
== Google Ajax Search API ==
Reference http://code.google.com/apis/ajaxsearch/documentation/#API_Overview
Query:
http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Paris%20Hilton
Response:
<pre><nowiki>{
"responseData": {
"cursor": {
"currentPageIndex": 0,
"moreResultsUrl": "http:\/\/www.google.com\/search?oe=utf8&ie=utf8&source=uds&start=0&hl=en&q=Paris+Hilton",
"pages": [
{
"start": "0",
"label": 1
},
{
"start": "4",
"label": 2
},
{
"start": "8",
"label": 3
},
{
"start": "12",
"label": 4
},
{
"start": "16",
"label": 5
},
{
"start": "20",
"label": 6
},
{
"start": "24",
"label": 7
},
{
"start": "28",
"label": 8
}
],
"estimatedResultCount": "86700000"
},
"results": [
{
"GsearchResultClass": "GwebSearch",
"visibleUrl": "www.parishilton.com",
"titleNoFormatting": "Paris Hilton | The Official Website",
"title": "<b>Paris Hilton<\/b> | The Official Website",
"url": "http:\/\/www.parishilton.com\/",
"cacheUrl": "http:\/\/www.google.com\/search?q=cache:EgDCCgd54xQJ:www.parishilton.com",
"unescapedUrl": "http:\/\/www.parishilton.com\/",
"content": "<b>ParisHilton<\/b>.com <b>Paris Hilton<\/b>, Nicky <b>Hilton<\/b> Fashion, Pictures, Apparel, Jewellery , Film, and Fun."
},
{
"GsearchResultClass": "GwebSearch",
"visibleUrl": "en.wikipedia.org",
"titleNoFormatting": "Paris Hilton - Wikipedia, the free encyclopedia",
"title": "<b>Paris Hilton<\/b> - Wikipedia, the free encyclopedia",
"url": "http:\/\/en.wikipedia.org\/wiki\/Paris_Hilton",
"cacheUrl": "http:\/\/www.google.com\/search?q=cache:TwrPfhd22hYJ:en.wikipedia.org",
"unescapedUrl": "http:\/\/en.wikipedia.org\/wiki\/Paris_Hilton",
"content": "<b>Paris<\/b> Whitney <b>Hilton<\/b> (born February 17, 1981) is an American celebutante, television personality, actress, singer and model. <b>...<\/b>"
},
{
"GsearchResultClass": "GwebSearch",
"visibleUrl": "www.imdb.com",
"titleNoFormatting": "Paris Hilton",
"title": "<b>Paris Hilton<\/b>",
"url": "http:\/\/www.imdb.com\/name\/nm0385296\/",
"cacheUrl": "http:\/\/www.google.com\/search?q=cache:1i34KkqnsooJ:www.imdb.com",
"unescapedUrl": "http:\/\/www.imdb.com\/name\/nm0385296\/",
"content": "Socialite <b>Paris Hilton<\/b> was born on February 17, 1981 in New York City... Visit IMDb for Photos, Filmography, Discussions, Bio, News, Awards, Agent, <b>...<\/b>"
},
{
"GsearchResultClass": "GwebSearch",
"visibleUrl": "www.myspace.com",
"titleNoFormatting": "MySpace.com - Paris Hilton - 27 - Female - California - www ...",
"title": "MySpace.com - <b>Paris Hilton<\/b> - 27 - Female - California - www <b>...<\/b>",
"url": "http:\/\/www.myspace.com\/parishilton",
"cacheUrl": "http:\/\/www.google.com\/search?q=cache:DTzCq3_Z7C0J:www.myspace.com",
"unescapedUrl": "http:\/\/www.myspace.com\/parishilton",
"content": "<b>Paris Hilton&#39;s<\/b> Latest Blog Entry [Subscribe to this Blog] <b>....<\/b> Guess what <b>Paris<\/b> <b>Hilton<\/b>? I&#39;ve read and bought that, Weekly In Touch Magazine, yesterday! <b>...<\/b>"
}
]
},
"responseDetails": null,
"responseStatus": 200
}</nowiki></pre>
== Microsoft Live Search API 2.0 ==
Reference http://msdn.microsoft.com/en-us/library/dd250846.aspx
<pre><nowiki>{
"SearchResponse":{
"Version":"2.0",
"Query":{
"SearchTerms":"testign"
},
"Spell":{
"Total":1,
"Results":[
{
"Value":"testing"
}
]
},
"Web":{
"Total":5100,
"Offset":0,
"Results":[
{
"Title":"Testign part 2 - Tiernan OTooles Programming Blog",
"Description":"If this works, it means nothing really, but i have managed to build a .TEXT blog posting app. could be handy if i move my main blog to .TEXT, which i am thinking about..",
"Url":"http:\/\/weblogs.asp.net\/tiernanotoole\/archive\/2004\/09\/24\/233830.aspx",
"DisplayUrl":"http:\/\/weblogs.asp.net\/tiernanotoole\/archive\/2004\/09\/24\/233830.aspx",
"DateTime":"2008-10-21T05:08:05Z",
"Rank":-1.835920
}
]
}
}
}</nowiki></pre>
== Yahoo Web Search ==
Reference http://developer.yahoo.com/search/web/V1/webSearch.html
Query:
http://search.yahooapis.com/WebSearchService/V1/webSearch?appid=YahooDemo&query=madonna&results=2&output=json
Response:
<pre><nowiki>{
"ResultSet": {
"Result": [
{
"MimeType": "text\/html",
"Cache": {
"Url": "http:\/\/uk.wrs.yahoo.com\/_ylt=A0Je5VNQTSxJVhUAHg7dmMwF;_ylu=X3oDMTBwOHA5a2tvBGNvbG8DdwRwb3MDMQRzZWMDc3IEdnRpZAM-\/SIG=1602559ol\/EXP=1227726544\/**http%3A\/\/66.218.69.11\/search\/cache%3Fei=UTF-8%26appid=YahooDemo%26query=madonna%26results=2%26output=json%26u=www.madonna.com\/%26w=madonna%26d=A_opCkfiR2xZ%26icp=1%26.intl=us",
"Size": "141748"
},
"Title": "Madonna",
"Url": "http:\/\/www.madonna.com\/",
"ClickUrl": "http:\/\/uk.wrs.yahoo.com\/_ylt=A0Je5VNQTSxJVhUAHQ7dmMwF;_ylu=X3oDMTB2cXVjNTM5BGNvbG8DdwRsA1dTMQRwb3MDMQRzZWMDc3IEdnRpZAM-\/SIG=11blgi5po\/EXP=1227726544\/**http%3A\/\/www.madonna.com\/",
"DisplayUrl": "www.madonna.com\/",
"ModificationDate": 1227427200,
"Summary": "Official site of pop diva Madonna, with news, music, media, and fan club."
},
{
"MimeType": "text\/html",
"Cache": {
"Url": "http:\/\/uk.wrs.yahoo.com\/_ylt=A0Je5VNQTSxJVhUAIQ7dmMwF;_ylu=X3oDMTBwZG5hOWwzBGNvbG8DdwRwb3MDMgRzZWMDc3IEdnRpZAM-\/SIG=173hm0meq\/EXP=1227726544\/**http%3A\/\/66.218.69.11\/search\/cache%3Fei=UTF-8%26appid=YahooDemo%26query=madonna%26results=2%26output=json%26u=en.wikipedia.org\/wiki\/Madonna_%2528entertainer%2529%26w=madonna%26d=Hl5LlEfiR2ww%26icp=1%26.intl=us",
"Size": "332370"
},
"Title": "Madonna (Entertainer) - Wikipedia",
"Url": "http:\/\/en.wikipedia.org\/wiki\/Madonna_(entertainer)",
"ClickUrl": "http:\/\/uk.wrs.yahoo.com\/_ylt=A0Je5VNQTSxJVhUAIA7dmMwF;_ylu=X3oDMTB2ZjQ4dDExBGNvbG8DdwRsA1dTMQRwb3MDMgRzZWMDc3IEdnRpZAM-\/SIG=126n039ja\/EXP=1227726544\/**http%3A\/\/en.wikipedia.org\/wiki\/Madonna_(entertainer)",
"DisplayUrl": "en.wikipedia.org\/wiki\/Madonna_(entertainer)",
"ModificationDate": 1226995200,
"Summary": "Exhaustive bio and discography of Madonna's early life, career, \"Sex\" controversy, electronic club mix phase, and more."
}
],
"totalResultsReturned": 2,
"totalResultsAvailable": 340000000,
"moreSearch": "\/WebSearchService\/V1\/webSearch?query=madonna&amp;appid=YahooDemo&amp;region=us",
"type": "web",
"firstResultPosition": 1
}
}</nowiki></pre>
== eBay Shopping API Search ==
Reference http://developer.ebay.com/devzone/shopping/docs/howto/js_shopping/js_searchgs_nv_json/js_searchgs_nv_json.html
Query:
http://open.api.ebay.com/shopping?appid=MyAppID&version=517&siteid=0&callname=FindItems&QueryKeywords=ipod&responseencoding=JSON&callback=true
Response:
<pre><nowiki>{
"Ack": "Failure",
"Build": "e591_core_Bundled_7560815_R1",
"Errors": [
{
"ErrorClassification": "RequestError",
"ErrorCode": "1.20",
"LongMessage": "Application ID invalid.",
"SeverityCode": "Error",
"ShortMessage": "Application ID invalid."
}
],
"Timestamp": "2008-11-25T19:44:28.387Z",
"Version": "591"
}</nowiki></pre>
''[That looks like an error response. Was it supposed to be a list of search results?]''
== VoteReport API Search ==
Reference: http://highearthorbit.com/votereport-mapping-and-data-feeds/
Query:
http://votereport.us/reports.json?q=good&count=2
Response:
<pre><nowiki>[
{
"report": {
"display_text": "Talking about #votereport on android at #mobilecampnyc3 at 11:30. Just enjoyed good session with nathan from mobilecommons.",
"rating": null,
"name": "Nathan Freitas",
"zip": null,
"reporter": {
"twitter_reporter": {
"name": "Nathan Freitas",
"icon": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/61379092\/nfavatar_normal.jpg"
}
},
"text": "Talking about #votereport on android at #mobilecampnyc3 at 11:30. Just enjoyed good session with nathan from mobilecommons.",
"created_at": "2008-11-15T16:19:07Z",
"audio_link": null,
"updated_at": "2008-11-15T16:19:16Z",
"display_html": "<div class=\"balloon\"><a href=\"http:\/\/twitter.com\/natdefreitas\"><img src=http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/61379092\/nfavatar_normal.jpg class=\"profile\" target=\"_new\"\/><\/a><img class=\"rating_icon\" style=\"clear:left;\" src=\"\/images\/rating_none.png\" \/><div class=\"balloon_body\"><span class=\"author\" id=\"screen_name\">Nathan Freitas<\/span>: <span class=\"entry-title\">Talking about #votereport on android at #mobilecampnyc3 at 11:30. Just enjoyed good session with nathan from mobilecommons.<\/span><br \/><br \/><div class='whenwhere'>reported <a href=\"http:\/\/twitter.com\/natdefreitas\/statuses\/1007133626\">10 days ago<\/a> <br \/>from Brooklyn, NY<br \/>via Twitter<\/div><\/div><\/div>",
"wait_time": null,
"source": "TWT",
"score": 0,
"location": {
"location": {
"administrative_area": "NY",
"geo_source_id": 1,
"thoroughfare": null,
"point": {
"type": "Point",
"coordinates": [
-73.971043,
40.675234
]
},
"created_at": "2008-10-30T02:43:27Z",
"locality": "Brooklyn",
"updated_at": "2008-10-30T02:43:27Z",
"filter_list": null,
"sub_administrative_area": null,
"postal_code": null,
"country_code": "US",
"address": "Brooklyn, NY, USA",
"id": 404
}
},
"polling_place": null,
"id": 12605,
"icon": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/61379092\/nfavatar_normal.jpg"
}
},
{
"report": {
"display_text": "Telephone report to 208-272-9024 #good",
"rating": 100,
"name": "Telephone User",
"zip": "84105",
"reporter": {
"phone_reporter": {
"name": "Telephone User",
"icon": "\/images\/phone_icon.jpg"
}
},
"text": "Telephone report to 208-272-9024 #good",
"created_at": "2008-11-15T05:12:44Z",
"audio_link": "http:\/\/calls.votereport.us\/1226725807.587.gsm",
"updated_at": "2008-11-15T05:12:44Z",
"display_html": "<div class=\"balloon\"><br \/><img src=\"\/images\/phone_icon.jpg\" class=\"profile\" \/><img class=\"rating_icon\" style=\"clear:left;\" src=\"\/images\/rating_good.png\" \/><div class=\"balloon_body\"><span class=\"author\" id=\"screen_name\">Telephone User<\/span>: <span class=\"entry-title\">Telephone report to 208-272-9024 #good<\/span><br \/>0 minute wait time<br \/>Rating: 100<br \/><div class='whenwhere'>reported 10 days ago<br \/>from Salt Lake City, UT 84105<br \/>via Telephone<\/div><\/div><\/div>",
"wait_time": 0,
"source": "TEL",
"score": null,
"location": {
"location": {
"administrative_area": "UT",
"geo_source_id": 1,
"thoroughfare": null,
"point": {
"type": "Point",
"coordinates": [
-111.8628205,
40.7345053
]
},
"created_at": "2008-11-15T05:12:44Z",
"locality": "Salt Lake City",
"updated_at": "2008-11-15T05:12:44Z",
"filter_list": null,
"sub_administrative_area": null,
"postal_code": "84105",
"country_code": "US",
"address": "Salt Lake City, UT 84105, USA",
"id": 5986
}
},
"polling_place": null,
"id": 12599,
"icon": "http:\/\/votereport.us\/images\/phone_icon.jpg"
}
}
]</nowiki></pre>
== Twitter Search ==
Reference: http://apiwiki.twitter.com/Search+API+Documentation
Query:
http://search.twitter.com/search.json?q=twitter&rpp=2
Response:
<pre><nowiki>{
"completed_in": 0.021294,
"max_id": 1083593812,
"next_page": "?page=2&max_id=1083593812&rpp=2&q=twitter",
"page": 1,
"query": "twitter",
"refresh_url": "?since_id=1083593812&q=twitter",
"results": [
{
"created_at": "Mon, 29 Dec 2008 07:31:23 +0000",
"from_user": "camerontoews",
"from_user_id": 2809592,
"id": 1083593812,
"iso_language_code": "en",
"profile_image_url": "http://s3.amazonaws.com/twitter_production/profile_images/68670172/camheadSM_normal.jpg",
"text": "Just got back from fry night at the barnes'. I hope nobody ever follows jeremy on twitter! Jeeeeez!",
"to_user_id": null
},
{
"created_at": "Mon, 29 Dec 2008 07:31:15 +0000",
"from_user": "erillanos",
"from_user_id": 320492,
"id": 1083593677,
"iso_language_code": "en",
"profile_image_url": "http://s3.amazonaws.com/twitter_production/profile_images/66271606/DSCN0703_normal.JPG",
"text": "@kiffar dont go doing that now. i know i am super depressed right now to but thats to far. i just drink and sleep and twitter to distract me",
"to_user": "kiffar",
"to_user_id": 444259
}
],
"results_per_page": 2,
"since_id": 0
}</nowiki></pre>
== The New York Times Article Search API ==
Reference: http://developer.nytimes.com/docs/article_search_api/
Query:
http://api.nytimes.com/svc/search/v1/article?query=(field:)keywords (facet:[value])(&params)&api-key=your-API-key
Response:
<pre><nowiki>
{ "facets" : { "classifiers_facet" : [ { "count" : 83,
"term" : "Top/News"
},
{ "count" : 74,
"term" : "Top/Classifieds/Automobiles/Topics/Wheel Spin"
},
{ "count" : 69,
"term" : "Top/News/Sports"
},
{ "count" : 18,
"term" : "Top/Features/Travel/Guides/Destinations/North America"
},
{ "count" : 18,
"term" : "Top/Features/Travel/Guides/Destinations/North America/United States"
},
{ "count" : 15,
"term" : "Top/Features/Travel/Guides/Destinations/Europe"
},
{ "count" : 10,
"term" : "Top/Classifieds/Automobiles"
},
{ "count" : 10,
"term" : "Top/News/Business"
},
{ "count" : 6,
"term" : "Top/Features/Magazine"
},
{ "count" : 6,
"term" : "Top/Features/Travel/Escapes"
},
{ "count" : 6,
"term" : "Top/Features/Travel/Guides/Destinations/Central and South America"
},
{ "count" : 6,
"term" : "Top/News/World/Europe"
},
{ "count" : 5,
"term" : "Top/Classifieds/Job Market/Job Categories/Fashion, Beauty and Fitness"
},
{ "count" : 5,
"term" : "Top/Classifieds/Job Market/Job Categories/Media, Entertainment and Publishing"
},
{ "count" : 5,
"term" : "Top/News/Obituaries"
}
],
"des_facet" : [ { "count" : 126,
"term" : "AUTOMOBILE RACING"
},
{ "count" : 22,
"term" : "AUTOMOBILES"
},
{ "count" : 15,
"term" : "BIOGRAPHICAL INFORMATION"
},
{ "count" : 8,
"term" : "INDIANAPOLIS 500 (AUTO RACE)"
},
{ "count" : 8,
"term" : "PROFESSIONAL ATHLETICS"
},
{ "count" : 5,
"term" : "ACCIDENTS AND SAFETY"
},
{ "count" : 4,
"term" : "DEATHS (OBITUARIES)"
},
{ "count" : 4,
"term" : "FORMULA ONE GRAND PRIX (AUTO RACE)"
},
{ "count" : 4,
"term" : "MERGERS, ACQUISITIONS AND DIVESTITURES"
},
{ "count" : 4,
"term" : "TELEVISION"
},
{ "count" : 4,
"term" : "TRAVEL AND VACATIONS"
},
{ "count" : 3,
"term" : "APPAREL"
},
{ "count" : 3,
"term" : "FINANCES"
},
{ "count" : 2,
"term" : "ADVERTISING"
},
{ "count" : 2,
"term" : "ADVERTISING AND MARKETING"
}
],
"geo_facet" : [ { "count" : 5,
"term" : "UNITED STATES"
},
{ "count" : 4,
"term" : "BRAZIL"
},
{ "count" : 4,
"term" : "EUROPE"
},
{ "count" : 4,
"term" : "NEW YORK CITY"
},
{ "count" : 3,
"term" : "MONACO"
},
{ "count" : 2,
"term" : "AMERICA"
},
{ "count" : 2,
"term" : "FRANCE"
},
{ "count" : 2,
"term" : "GREAT BRITAIN"
},
{ "count" : 2,
"term" : "INDIANAPOLIS (IND)"
},
{ "count" : 2,
"term" : "INDIANAPOLIS (INDIANA)"
},
{ "count" : 2,
"term" : "JAPAN"
},
{ "count" : 2,
"term" : "LONG ISLAND (NY)"
},
{ "count" : 2,
"term" : "SAHARA DESERT"
},
{ "count" : 1,
"term" : "AFRICA"
},
{ "count" : 1,
"term" : "ALABAMA"
}
],
"org_facet" : [ { "count" : 12,
"term" : "FORMULA ONE"
},
{ "count" : 5,
"term" : "NATIONAL ASSN OF STOCK CAR AUTO RACING"
},
{ "count" : 4,
"term" : "FORD MOTOR CO"
},
{ "count" : 4,
"term" : "INDIANAPOLIS MOTOR SPEEDWAY"
},
{ "count" : 2,
"term" : "CHAMPIONSHIP AUTO RACING TEAMS"
},
{ "count" : 2,
"term" : "ESPN"
},
{ "count" : 2,
"term" : "HONDA MOTOR CO"
},
{ "count" : 2,
"term" : "JAGUAR CARS LTD"
},
{ "count" : 2,
"term" : "JAGUAR PLC"
},
{ "count" : 2,
"term" : "MASERATI SPA"
},
{ "count" : 2,
"term" : "MITSUBISHI MOTORS CORP"
},
{ "count" : 2,
"term" : "PHILIP MORRIS COMPANIES INC"
},
{ "count" : 2,
"term" : "PORSCHE AG"
},
{ "count" : 1,
"term" : "AL QAEDA"
},
{ "count" : 1,
"term" : "ALFA ROMEO OF ITALY"
}
],
"per_facet" : [ { "count" : 3,
"term" : "ANDRETTI, MICHAEL"
},
{ "count" : 3,
"term" : "FITTIPALDI, EMERSON"
},
{ "count" : 3,
"term" : "MANSELL, NIGEL"
},
{ "count" : 3,
"term" : "SENNA, AYRTON"
},
{ "count" : 2,
"term" : "ANDRETTI, MARIO"
},
{ "count" : 2,
"term" : "FABI, TEO"
},
{ "count" : 2,
"term" : "FRANCE, BILL JR"
},
{ "count" : 2,
"term" : "LUYENDYK, ARIE"
},
{ "count" : 2,
"term" : "ZANARDI, ALEX"
},
{ "count" : 1,
"term" : "ALLEN, WOODY"
},
{ "count" : 1,
"term" : "BARBER, GEORGE"
},
{ "count" : 1,
"term" : "BOURDAIS, SEBASTIEN"
},
{ "count" : 1,
"term" : "BRACK, KENNY"
},
{ "count" : 1,
"term" : "CASTRONEVES, HELIO"
},
{ "count" : 1,
"term" : "CONNER, DENNIS"
}
]
},
"offset" : "0",
"results" : [ { "body" : "Phil Hill, one of the greatest of American auto racers, an introspective and cerebral champion whose celebrated driving career began when he took a neighbor's new Oldsmobile for a spin as a 9-year-old, died Thursday in Monterey, Calif. He was 81 and lived in Santa Monica, Calif., in the same house in which he grew up. His death was confirmed by his",
"byline" : "By BRUCE WEBER",
"classifiers_facet" : [ "Top/News/Sports",
"Top/News/Obituaries",
"Top/Classifieds/Automobiles/Topics/Wheel Spin"
],
"date" : "20080829",
"day_of_week_facet" : "Friday",
"des_facet" : [ "AUTOMOBILE RACING",
"DEATHS (OBITUARIES)"
],
"desk_facet" : "Sports Desk",
"fee" : "N",
"large_image" : "Y",
"large_image_height" : "450",
"large_image_url" : "",
"large_image_width" : "363",
"lead_paragraph" : "",
"material_type_facet" : [ "Obituary",
"Biography"
],
"nytd_des_facet" : [ "Automobile Racing",
"Deaths (Obituaries)"
],
"nytd_lead_paragraph" : "Mr. Hill was one of the greatest of American auto racers, an introspective and cerebral champion who led a celebrated driving career.",
"nytd_org_facet" : [ "Formula One" ],
"nytd_per_facet" : [ "Hill, Phil" ],
"nytd_section_facet" : [ "Obituaries",
"Sports"
],
"nytd_title" : "Phil Hill, a Racing Legend at Odds With the Sport at Times, Is Dead at 81",
"org_facet" : [ "FORMULA ONE" ],
"page_facet" : "8",
"per_facet" : [ "HILL, PHIL" ],
"publication_day" : "29",
"publication_month" : "08",
"publication_year" : "2008",
"small_image" : "Y",
"small_image_height" : "75",
"small_image_url" : "http://graphics8.nytimes.com/images/2008/08/29/sports/hill_75757.jpg",
"source_facet" : "The New York Times",
"title" : "Phil Hill, a Racing Legend at Odds With the Sport at Times, Is Dead at 81",
"url" : "http://www.nytimes.com/2008/08/29/sports/othersports/29hill.html",
"word_count" : "1159"
},
{ "author" : "Cathy Horyn is the fashion critic for The New York Times",
"body" : "ISTANBUL PARK is not really a park but a three-mile-long race-car track situated in a forlorn area of scrubland and solitary, flag-draped Shell gas stations about 40 miles east of Istanbul, off the main highway to Ankara. A development of pink-stucco villas was encroaching on some old farms. It was a Friday morning in early May, two days before the",
"byline" : "By CATHY HORYN",
"classifiers_facet" : [ "Top/News/World/Countries and Territories/Turkey",
"Top/Features/Travel/Guides/Destinations/Europe/Turkey/Istanbul",
"Top/Features/Magazine",
"Top/News",
"Top/Features/Travel/Guides/Destinations/Europe",
"Top/Features/Travel/Guides/Destinations/Europe/Turkey",
"Top/News/World/Middle East"
],
"date" : "20080727",
"day_of_week_facet" : "Sunday",
"des_facet" : [ "AUTOMOBILES",
"AUTOMOBILE RACING"
],
"desk_facet" : "Magazine Desk",
"fee" : "N",
"geo_facet" : [ "ISTANBUL (TURKEY)" ],
"large_image" : "Y",
"large_image_height" : "396",
"large_image_url" : "",
"large_image_width" : "600",
"lead_paragraph" : "",
"material_type_facet" : [ "News" ],
"nytd_des_facet" : [ "Automobiles",
"Automobile Racing"
],
"nytd_geo_facet" : [ "Istanbul (Turkey)" ],
"nytd_lead_paragraph" : "He’s the next big thing in Formula One auto racing. But can he hang on to his innocence in the revved-up whirl of Grand Prix?",
"nytd_org_facet" : [ "Formula One",
"Bayerische Motorenwerke AG",
"Renault SA",
"Daimler AG"
],
"nytd_per_facet" : [ "Hamilton, Lewis" ],
"nytd_section_facet" : [ "Magazine" ],
"nytd_title" : "Lewis Hamilton Just Wants to Go Fast",
"org_facet" : [ "FORMULA ONE",
"BAYERISCHE MOTORENWERKE AG",
"RENAULT SA",
"DAIMLER AG"
],
"page_facet" : "30",
"per_facet" : [ "HAMILTON, LEWIS" ],
"publication_day" : "27",
"publication_month" : "07",
"publication_year" : "2008",
"small_image" : "Y",
"small_image_height" : "75",
"small_image_url" : "http://graphics8.nytimes.com/images/2008/07/27/magazine/27hamilton-75.jpg",
"source_facet" : "The New York Times",
"title" : "HE'S THE NEXT BIG THING IN FORMULA ONE AUTO RACING. BUT CAN HE HANG ON TO HIS INNOCENCE IN THE REVVED-UP WHIRL OF GRAND PRIX?",
"url" : "http://www.nytimes.com/2008/07/27/magazine/27Hamilton-t.html",
"word_count" : "5228"
},
{ "abstract" : "Danica Patrick becomes first woman to win Indy car race; defeats two-time Indy 500 winner Helio Castroneves by nearly six seconds in Indy Japan 300; achieved celebrity three years ago when she became first woman to lead Indianapolis 500; finished fourth in that race but became phenomenon; companies embraced her willingness to market her good looks, but celebrity brought question of when or if she could win; naysayers chorus had grown increasingly loud as her winless streak wore on; in 2007, she switched to team co-owned by Michael Andretti, former racer who is son of Mario Andretti; photos (M)",
"body" : "When a 23-year-old rookie named Danica Patrick became the first woman to lead the Indianapolis 500 three years ago, she raised the tantalizing possibility that in a male-dominated American sport, a woman might for the first time stand in victory lane. Patrick eventually finished fourth in that race, but she quickly became a phenomenon. Companies",
"byline" : "By DAVE CALDWELL",
"classifiers_facet" : [ "Top/News",
"Top/News/Sports",
"Top/Classifieds/Job Market/Job Categories/Marketing, Advertising and PR",
"Top/News/Front Page",
"Top/Classifieds/Automobiles/Topics/Wheel Spin"
],
"date" : "20080421",
"day_of_week_facet" : "Monday",
"des_facet" : [ "INDY JAPAN 300",
"INDIANAPOLIS 500 (AUTO RACE)",
"AUTOMOBILE RACING",
"RECORDS AND ACHIEVEMENTS",
"ADVERTISING AND MARKETING",
"WOMEN"
],
"desk_facet" : "Sports Desk",
"fee" : "N",
"large_image" : "Y",
"large_image_height" : "450",
"large_image_url" : "",
"large_image_width" : "622",
"lead_paragraph" : "",
"material_type_facet" : [ "News" ],
"nytd_des_facet" : [ "Automobile Racing" ],
"nytd_lead_paragraph" : "Danica Patrick became the first woman to win an Indy car race, using successful fuel strategy to capture an IndyCar Series event in Motegi, Japan.",
"nytd_per_facet" : [ "Patrick, Danica" ],
"nytd_section_facet" : [ "Front Page",
"Sports"
],
"nytd_title" : "Racing to Victory, and Leaving the Men and the Doubters Behind",
"page_facet" : "1",
"per_facet" : [ "ANDRETTI, MARIO",
"ANDRETTI, MICHAEL",
"CASTRONEVES, HELIO",
"PATRICK, DANICA"
],
"publication_day" : "21",
"publication_month" : "04",
"publication_year" : "2008",
"small_image" : "Y",
"small_image_height" : "75",
"small_image_url" : "http://graphics8.nytimes.com/images/2008/04/20/sports/20patrick_75.jpg",
"source_facet" : "The New York Times",
"title" : "Racing to Victory, and Leaving the Men and the Doubters Behind",
"url" : "http://www.nytimes.com/2008/04/21/sports/othersports/21patrick.html",
"word_count" : "1086"
},
{ "body" : "Few scandals in recent years have provoked as much anger and dismay across Europe as the saga of Max Mosley, the overseer of grand prix motor racing who made tabloid news last weekend in a front-page exposé and accompanying Web video showing him in a sadomasochistic orgy with five supposed prostitutes in a London sex ''dungeon.'' But beyond the",
"byline" : "By JOHN F. BURNS",
"classifiers_facet" : [ "Top/News",
"Top/News/World"
],
"date" : "20080407",
"day_of_week_facet" : "Monday",
"des_facet" : [ "NAZI POLICIES TOWARD JEWS AND MINORITIES",
"AUTOMOBILE RACING",
"RECORDINGS AND DOWNLOADS (VIDEO)",
"PROSTITUTION",
"SEX"
],
"desk_facet" : "Foreign Desk",
"fee" : "N",
"large_image" : "Y",
"large_image_height" : "450",
"large_image_url" : "",
"large_image_width" : "650",
"lead_paragraph" : "",
"material_type_facet" : [ "News" ],
"nytd_des_facet" : [ "Nazi Policies Toward Jews and Minorities",
"Automobile Racing",
"Recordings and Downloads (Video)",
"Prostitution",
"Sex"
],
"nytd_lead_paragraph" : "A London tabloid’s claim that Max Mosley was involved in a sex orgy with Nazi undertones has prompted calls for his resignation. He has refused and is suing the tabloid.",
"nytd_org_facet" : [ "Formula One",
"Sunday Times",
"Times of London"
],
"nytd_section_facet" : [ "World" ],
"nytd_title" : "Possible Nazi Theme of Grand Prix Boss’s Orgy Draws Calls to Quit",
"org_facet" : [ "FORMULA ONE",
"SUNDAY TIMES",
"TIMES OF LONDON"
],
"page_facet" : "6",
"publication_day" : "07",
"publication_month" : "04",
"publication_year" : "2008",
"small_image" : "Y",
"small_image_height" : "75",
"small_image_url" : "http://graphics8.nytimes.com/images/2008/04/07/world/07formula.75.jpg",
"source_facet" : "The New York Times",
"title" : "Possible Nazi Theme of Grand Prix Boss's Orgy Draws Calls to Quit",
"url" : "http://www.nytimes.com/2008/04/07/world/europe/07formula.html",
"word_count" : "1628"
},
{ "body" : "HOWARD KROPLICK's fascination for local history has led him into lots of musty library archives, looking for the Long Island that predated suburbia. ''I was especially interested in areas where I lived,'' said Mr. Kroplick, 58, who grew up in East Meadow and now lives with his wife and two daughters in East Hills. ''I loved looking at the pictures",
"byline" : "By KARIN LIPSON",
"classifiers_facet" : [ "Top/News/New York and Region",
"Top/Features/Travel/Guides/Destinations/North America/United States/New York/Long Island",
"Top/News/U.S./U.S. States, Territories and Possessions/New York",
"Top/Features/Travel/Guides/Destinations/North America",
"Top/News/New York and Region/Long Island",
"Top/Features/Travel/Guides/Destinations/North America/United States/New York",
"Top/Features/Travel/Guides/Destinations/North America/United States"
],
"date" : "20080316",
"day_of_week_facet" : "Sunday",
"des_facet" : [ "AUTOMOBILES",
"AUTOMOBILE RACING"
],
"desk_facet" : "Long Island Weekly Desk",
"fee" : "N",
"geo_facet" : [ "LONG ISLAND (NY)" ],
"lead_paragraph" : "",
"material_type_facet" : [ "News" ],
"nytd_des_facet" : [ "Automobiles",
"Automobile Racing"
],
"nytd_geo_facet" : [ "Long Island (NY)" ],
"nytd_lead_paragraph" : "The Vanderbilt Cup Races, automobile rallies held on Long Island from 1904 to 1910, were celebrated sporting events of their day.",
"nytd_section_facet" : [ "New York and Region" ],
"nytd_title" : "Long Before Nascar, Dirt-Road Daredevils",
"page_facet" : "9",
"publication_day" : "16",
"publication_month" : "03",
"publication_year" : "2008",
"source_facet" : "The New York Times",
"title" : "Long Before Nascar, Dirt-Road Daredevils",
"url" : "http://www.nytimes.com/2008/03/16/nyregion/nyregionspecial2/16bookli.html",
"word_count" : "588"
},
{ "body" : "THE telephone call that would change George Schuster's life and, perhaps, the course of the automobile industry didn't give him much time to prepare. He had barely 12 hours to catch an overnight train from New England so he would be in New York City the next morning, Feb. 12, 1908, for the start of the longest auto race in history: around the",
"byline" : "By JERRY GARRETT",
"classifiers_facet" : [ "Top/Classifieds/Automobiles" ],
"date" : "20080210",
"day_of_week_facet" : "Sunday",
"des_facet" : [ "AUTOMOBILES",
"AUTOMOBILE RACING"
],
"desk_facet" : "Automobiles",
"fee" : "N",
"large_image" : "Y",
"large_image_height" : "432",
"large_image_url" : "",
"large_image_width" : "600",
"lead_paragraph" : "",
"material_type_facet" : [ "News" ],
"medium_image" : "Y",
"medium_image_height" : "240",
"medium_image_url" : "",
"medium_image_width" : "337",
"multimedia" : [ { "headline" : "No Shoulder Next 22,000 Miles",
"summary" : "The 1908 New York to Paris race was one of the earliest international automobile races. The interactive map shows the route taken by the American team as well as the planned route for a commemorative race set to begin in May.",