/v1/search
Search the textbook library
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/wikibooks-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wikibooks-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wikibooks-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/wikibooks-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"count": 10,
"query": "python programming",
"results": [
{
"url": "https://en.wikibooks.org/wiki/Python_Programming",
"title": "Python Programming",
"words": 286,
"snippet": "This book describes Python, an open-source general-purpose interpreted programming language available for the most popular operating systems. The current"
},
{
"url": "https://en.wikibooks.org/wiki/Python_Programming%2FCreating_Python_Programs",
"title": "Python Programming/Creating Python Programs",
"words": 835,
"snippet": "Welcome to Python! This tutorial will show you how to start writing programs. Python programs are nothing more than text files, and they may be edited"
},
{
"url": "https://en.wikibooks.org/wiki/Introduction_to_Python_Programming%2FIntroduction",
"title": "Introduction to Python Programming/Introduction",
"words": 676,
"snippet": "semicolons, the need to compile the program and then run the program as one needs to be do in C, C++, Java programming. Python interpreter tracks the errors"
},
{
"url": "https://en.wikibooks.org/wiki/Python_Programming%2FGUI_Programming",
"title": "Python Programming/GUI Programming",
"words": 748,
"snippet": "See also book PyGTK For GUI Programming PyGTK provides a convenient wrapper for the GTK+ library for use in Python programs, taking care of many of the"
},
{
"url": "https://en.wikibooks.org/wiki/Python_Programming%2FInternet",
"title": "Python Programming/Internet",
"words": 453,
"snippet": "urllib for line in urllib.urlopen("https://en.wikibooks.org/wiki/Python_Programming/Internet"): print(line) Get and post methods can be used, too. import"
},
{
"url": "https://en.wikibooks.org/wiki/Non-Programmer's_Tutorial_for_Python_3",
"title": "Non-Programmer's Tutorial for Python 3",
"words": 201,
"snippet": "Recursive Functions Intro to Object Oriented Programming in Python 3 Basics of OOP (Object Oriented Programming) Intro to Imported Libraries and other Functions"
},
{
"url": "https://en.wikibooks.org/wiki/Python_Programming%2FGame_Programming_in_Python",
"title": "Python Programming/Game Programming in Python",
"words": 684,
"snippet": "Irrlicht Engine[1] (Python binding website: [2] ) Both are very good free open source C++ 3D game Engine with a Python binding. CrystalSpace is a free"
},
{
"url": "https://en.wikibooks.org/wiki/Python_Progra
…