RhymeBrain class
Basic client to interact with RhymeBrain.come API
final rbclient = RhymeBrain();
Constructors
- RhymeBrain.new({Cache? cache})
Properties
Methods
-
getFuzzyRhymes(
FuzzyRhymeParams parameters) → FutureOr< List< FuzzyRhyme> > - This is technically public, and it technically works, but is not written in the API documentation directly I would use responsibly, and always credit the author, possibly reach out before using this endpoint. However, JSONB functions are noted in the docs so i believe these are just not written in, but still intended to be used.
-
getPortmanteaus(
PortmanteausParams parameters) → FutureOr< List< Portmanteaus> > -
Gets a list of Portmanteaus's for a given
word
-
getRhymes(
RhymeParams parameters) → FutureOr< List< Rhyme> > -
Returns a list of Rhyme objects each with its own Rhyme.word that rhymes with
word
-
getWordInfo(
WordInfoParams parameters) → FutureOr< WordInfo> -
Gets WordInfo about a given
word
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
dynamic parameters) → dynamic - Makes a HTTP GET request to RhymeBrain.com/talk endpoint
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited