toyhou.se

2.0.10 • Public • Published

Toyhou.se

Toyhou.se is a basic project for web scraping Toyhou.se

Creator: Novanity#1148

Features

  • Easy-To-Use
  • Easy-To-Understand
  • 100% Beginner-Friendly

APIs

Toyhou.se | API (Recommended)

Novanity's API

Examples

// Toyhou.se

const Toyhouse = require('toyhou.se')

const Syias_URL = 'https://toyhou.se/4182489.syia'
const Syia = new Toyhouse(Syias_URL)

Syia.Links('PixelLeaf').then(Links => console.log(Links))
Syia.All().then(Syia => console.log(Syia))

Setup

// Toyhou.se API

const Fetch = require('node-fetch')

const Syia = 'https://toyhou.se/4182489.syia'
const Toyhouse_API = 'https:/toyhouse.novan1ty.repl.co/all?url=' + Syia
const Novanity = 'https://novanitys-api.novan1ty.repl.co/toyhou.se/all?url=' + Syia

Retrieving Data

// First Method

const Response = await Fetch(YOUR_CHOSEN_API)
const All = await Response.json()

console.log(All)

// Second Method

Fetch(YOUR_CHOSEN_API)
.then(Response => Response.json())
.then(All => console.log(All))

Methods

Character

  • Creator()
  • Character()
  • Profile()
  • Gallery()
  • Creation()
  • Tags()
  • All()

User

  • Stats()
  • Characters()
  • Arts()
  • Favorites()
  • Registration()
  • Worlds()
  • Literatures()
  • Username_Log()
  • Links()

Updates

  • V1

    Methods

    • Creator()
    • Character()
    • Profile()
    • Gallery()
    • Creation()
    • Tags()
    • All()
  • V2
    • Added User Methods.

      • Status()
      • Characters()
      • Arts()
      • Favorites()
      • Registration()
      • Worlds()
      • Literatures()
      • Username_Log()
      • Links()
    • Faster Response.

    • December 7, 2021

      • New User Method: Links()
      • Username parameter for user methods.

Package Sidebar

Install

npm i toyhou.se

Weekly Downloads

1

Version

2.0.10

License

ISC

Unpacked Size

41.4 kB

Total Files

5

Last publish

Collaborators

  • seraphimrune