Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

theycallhermax/meower.py

Repository files navigation

meower.py

Python library for interacting with the Meower API

Commands

  • meower.repair_mode() - Checks if the server is in repair mode
  • meower.scratch_deprecated() - Checks if Scratch clients are now deprecated
  • meower.find_post(num) - Downloads home, then finds the post number
  • meower.get_home() - Downloads home, in a JSON array
  • meower.home_len() - Shows the number of posts on home
  • meower.get_post(str) - Gets the specified post, and shows in username: post format
  • meower.page_len() - Shows the number of home pages
  • meower.current_page() - Returns the current page number
  • meower.change_page(num) - Changes the page
  • meower.ping() - "Pings" the Meower API, by timing requests to fetch the root page
  • meower.argo_tunnel() - Checks if there is a Argo Tunnel error on the API
  • meower.stats_chats() - Shows the total amount of chats
  • meower.stats_users() - Shows the total amount of users
  • meower.stats_posts() - Shows the total amount of posts
  • meower.user_lvl(user) - Shows the specified user's level
  • meower.user_banned(user) - Shows if the specified user is banned from Meower
  • meower.user_uuid(user) - Shows the specified user's UUID
  • meower.user_pfp(user) - Shows the specified user's profile picture number

Installing

The recommended way to install meower.py is to use the following script:

pip3 install meower

Usage

To import, just simply use the following:

import meower

Building

Before you build, you'd might want to double-check that you have all of the dependencies:

pip3 install -r requirements.txt

Run the build command:

python3 -m build

Upgrading

meower.py is a ongoing project, so you'd might want to check for updates regularly. You can update the package like this:

pip3 install --upgrade meower

Demo Client

import meower

for i in range(0, meower.home_len()):
	print(meower.get_post(meower.find_post(i)))

About

Python library for interacting with the Meower API

Topics

Resources

License

Stars

Watchers

Forks

Languages