dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

Get the infobox image #27

Closed IonicaBizau closed 8 years ago

IonicaBizau commented 8 years ago

By using images() I can get an array of images, but how can I get the infobox image?

Thanks for the neat library ✨

dijs commented 8 years ago

When 1.1.0 is merged and published, you will be able to use the new mainImage function which will return the infobox image url.

IonicaBizau commented 8 years ago

@dijs Thanks! ✨ /cc @arjoona