Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mediawiki
main
Mediawiki
Wikipedia
Category
CategoryConverter
Client
ContentConverter
Page
Generated using Crystal 1.12.2
2024-10-04 10:33:24 UTC
class
Wikipedia::
Client
Wikipedia::Client
Reference
Object
Defined in:
mediawiki/client.cr
Constant Summary
BASE_URL
=
"https://en.wikipedia.org/w/api.php"
Constructors
.new
(base_url : String)
Instance Method Summary
#get_category
(name : String) : Wikipedia::Category
#get_page
(name : String) : Wikipedia::Page
Constructor Detail
def self.
new
(base_url : String)
#
[
View source
]
Instance Method Detail
def
get_category
(name : String) :
Wikipedia::Category
#
[
View source
]
def
get_page
(name : String) :
Wikipedia::Page
#
[
View source
]