File: test/test.js

Recommend this page to a friend!
  Classes of Leonardo Mauro Pereira Moraes  >  Super Mario Maker Profile  >  test/test.js  >  Download  
File: test/test.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Super Mario Maker Profile
Retrieve a Super Mario Maker profile
Author: By
Last change: fix condition patterns issues
fix nodejs pattern issues
Date: 10 months ago
Size: 604 bytes


Class file image Download
/* Include */
const SmmMakerProfile = require("../lib/SmmMakerProfile.js");

// ## Try capture some data from ID Nintendo user
// link: https://supermariomakerbookmark.nintendo.net/profile/BRKsEDU

//SmmMakerProfile.getMetaContent("BRKsEDU", function(error, makerProfile) {
SmmMakerProfile.getMetaCoursesContent("BRKsEDU", function(error, makerProfile) {
//SmmMakerProfile.getAllContent("BRKsEDU", function(error, makerProfile) {
    if (error) { console.log("> Page not found or Nintendo ID inexistent."); }
    else { console.log(makerProfile); }