Skip to content

Naveendas1997/wiki_word_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Marvin_assigment

for api request with path and query "/wordFrequency?topic=python&top_n=5" output will be

{ "the": "22 occurrences", "python": "17 occurrences", "of": "11 occurrences", "in": "9 occurrences", "a": "9 occurrences", "is": "9 occurrences", "and": "6 occurrences", "to": "5 occurrences" }

for api request with path "/searchHistory" after above api call the output will be

[ { "topic": "python", "search_results": [ { "ns": 0, "title": "Python", "pageid": 46332325, "size": 1968, "wordcount": 271, "snippet": "Look up <span class="searchmatch">Python or <span class="searchmatch">python in Wiktionary, the free dictionary. <span class="searchmatch">Python may refer to: Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and", "timestamp": "2024-01-18T07:27:19Z" }, { "ns": 0, "title": "Python (programming language)", "pageid": 23862, "size": 157985, "wordcount": 12872, "snippet": "<span class="searchmatch">Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readability with the use of significant indentation", "timestamp": "2024-02-05T15:08:36Z" }, { "ns": 0, "title": "Monty Python", "pageid": 18942, "size": 167361, "wordcount": 18107, "snippet": "Monty <span class="searchmatch">Python (also collectively known as the <span class="searchmatch">Pythons) were a British comedy troupe formed in 1969 consisting of Graham Chapman, John Cleese, Terry Gilliam", "timestamp": "2024-01-05T21:28:53Z" }, { "ns": 0, "title": "Ball python", "pageid": 271890, "size": 18191, "wordcount": 1994, "snippet": "The ball <span class="searchmatch">python (<span class="searchmatch">Python regius), also called the royal <span class="searchmatch">python, is a <span class="searchmatch">python species native to West and Central Africa, where it lives in grasslands, shrublands", "timestamp": "2024-01-13T16:35:45Z" }, { "ns": 0, "title": "Reticulated python", "pageid": 88595, "size": 49728, "wordcount": 5066, "snippet": "The reticulated <span class="searchmatch">python (Malayopython reticulatus) is a <span class="searchmatch">python species native to South and Southeast Asia. It is the world's longest snake, and the third", "timestamp": "2023-12-31T13:56:10Z" }, { "ns": 0, "title": "Python (codename)", "pageid": 53672527, "size": 5326, "wordcount": 600, "snippet": "<span class="searchmatch">Python was a Cold War contingency plan of the British Government for the continuity of government in the event of nuclear war. Following the report of", "timestamp": "2023-08-20T20:46:34Z" }, { "ns": 0, "title": "Burmese python", "pageid": 819149, "size": 42758, "wordcount": 4833, "snippet": "The Burmese <span class="searchmatch">python (<span class="searchmatch">Python bivittatus) is one of the largest species of snakes. It is native to a large area of Southeast Asia and is listed as Vulnerable", "timestamp": "2024-01-25T17:32:43Z" }, { "ns": 0, "title": "History of Python", "pageid": 21356332, "size": 39682, "wordcount": 2959, "snippet": "The programming language <span class="searchmatch">Python was conceived in the late 1980s, and its implementation was started in December 1989 by Guido van Rossum at CWI in the", "timestamp": "2024-01-25T10:00:08Z" }, { "ns": 0, "title": "Python (missile)", "pageid": 317752, "size": 25305, "wordcount": 2443, "snippet": "The Rafael <span class="searchmatch">Python (פיתון) is a family of air-to-air missiles (AAMs) built by the Israeli weapons manufacturer Rafael Advanced Defense Systems, formerly", "timestamp": "2024-01-04T15:03:58Z" }, { "ns": 0, "title": "Colt Python", "pageid": 639888, "size": 27811, "wordcount": 3360, "snippet": "The Colt <span class="searchmatch">Python is a double action revolver chambered for the .357 Magnum cartridge. It was first introduced in 1955 by the Colt's Manufacturing Company", "timestamp": "2023-12-20T19:50:07Z" } ], "top_frequent_words": [ [ "the", 22 ], [ "python", 17 ], [ "of", 11 ], [ "in", 9 ], [ "a", 9 ] ] } ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages