Class: Science

Science

new Science(opts)

Class for getting scientific data
Parameters:
Name Type Description
opts object Options
Properties
Name Type Attributes Default Description
locale string <optional>
en Current locale

Methods

chemicalElement(opts)

Generate a random chemical element.
Parameters:
Name Type Description
opts object Options
Properties
Name Type Attributes Default Description
nameOnly boolean <optional>
true If false then will be returned dict.

mathFormula()

Get a random mathematical formula.

scientificArticle()

Generate a random link to scientific article on Wikipedia.