Skip to content

About

Word bank for sordle

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sordle Words

Word bank for Sordle.

Play the game sordle.iambrian.com.

API

List of all words: https://iambrian.com/sordle-words/5.json

Individual word file: https://iambrian.com/sordle-words/5/aargh.json

Indexed word file: https://iambrian.com/sordle-words/5/0.json

Usage

Get a list of words:

const words = await fetch('https://iambrian.com/sordle-words/5.json').then((r) => r.json());

Get a single word:

const word = await fetch('https://iambrian.com/sordle-words/5/aargh.json').then((r) => r.json());

Get a random word:

// Pick a random index (0-7433)
const randomIndex = Math.floor(Math.random() * 7434);

// Get the word file in one request
const word = await fetch(`https://iambrian.com/sordle-words/5/${randomIndex}.json`).then((r) => r.json());

Stats

Total words: 7434

About

Word bank for sordle

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages