Skip to content

EtoileFilante/wikipediaravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipediaravel

A simple Wikipedia API Driver

Build Status Coverage Status

Installation

composer require etoilefilante/wikipediaravel

Configuration

You can configure the type of data sent back by wikipedia. By default, we'll send you json. If you change your mind, just edit your configuration in your .env

WIKIPEDIARAVEL_FORMAT =

Possible values are : jsonn, jsonfm (pretty-print in HTML), php, phpfm, rawfm, xml, xmlfm.

As for language, default is french. To switch to english, add WIKIPEDIARAVEL_LANG = en in your .env file.

Use

Available functions

getPage($pageName)
getSubCategories($category, $depth = 1)

About

A simple Wikipedia API Driver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages