Skip to content
Bulletin board from Animal Crossing API for Node projects.
JavaScript
Branch: master
Clone or download
Helmasaur 🥅 Error code returned if data file empty
-1 is returned if a messages array is empty (fix #24)
Latest commit ad2a8d7 Jan 1, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data 🌐🇫🇷 Some French messages added (#27) Oct 27, 2019
test i18n update Jun 9, 2019
LICENSE Version 1.1.0 (#9) Jun 7, 2019
README.md ✏️ README update Dec 31, 2019
index.js 🥅 Error code returned if data file empty Jan 1, 2020
package.json 🔖 Forgot to update the version in package.json Jun 12, 2019

README.md

License: MIT

AC-Keijiban

Sends a random message from the Animal Crossing: Wild World video game on Nintend DS created by Katsuya Eguchi and published in 2005.

The quotes come from three types of board message:

  • "Message of the Week"
  • "Poetry"
  • "Talking to Myself"

Installation

You have to add this module to your npm modules folder.

$ npm install ac-keijiban

Example

Importing the module

// Require with a language (format xx)
const acKeijiban = require('ac-keijiban')('en');
// Require with a language (format xx-YY) sets 'en'(format xx)
const acKeijiban = require('ac-keijiban')('en-US')
// Require without an argument sets 'en'
const acKeijiban = require('ac-keijiban')();

Displaying a random "Message of the Week"

console.log('*Message of the Week*');
console.log(acKeijiban.messageOfTheWeek.random());

Displaying a random "Poetry"

console.log('-Poetry-');
console.log(acKeijiban.poetry.random());

Displaying a random "Talking to Myself"

console.log('-Talking to Myself-');
console.log(acKeijiban.talkingToMyself.random());

Translation

For the moment, the only language avaible is English. The French messages are being collected directly from Animal Crossing: Wild World on Nintendo DS.

Obviously, you are free to participate to the translation in French or in any other language.

Avaible languages

English

  • "Message of the Week": 85 (complete)
  • "Poetry": 2 (complete)
  • "Talking to Myself": 74 (complete)

French

  • "Message de la semaine": 18
  • "Poème": 0
  • "Réflexions": 13

Thanks

Thanks to:

Licenses

  • My source code is published under MIT License.
  • All the quotes from Animal Crossing: Wild World is the property of Nintendo.
You can’t perform that action at this time.