Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

sbhadr/Pyblox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pyblox

GitHub license Travis ROBLOX API Discord Downloads

This is no longer maintained and will not recieve updates. To find the maintained/updated one, please go here: https://github.com/RbxAPI/Pyblox

An API wrapper for Roblox written in Python.

The purpose of this API wrapper is to expose Roblox's API for third party use and/or for individual standalone projects. This is the first stable Python API wrapper for the Roblox API. Documentation can be found within each module. I encourage developers to look into the codebase to better understand this wrapper and what it can truly offer.

If you would like to contribute, create a pull request with the changes you made. If you have a complaint, issue or problem, create an issue and I will try to answer as fast as I can.

For user's wanting a Python 2x-compatible version: https://github.com/Sanjay-B/Pyblox/tree/python2

For users wanting a mid-stable, asynchronous-version: https://github.com/RbxAPI/Pyblox/tree/nightly_build

Updating

The Roblox API updates whenever necessary and often the developers don't specify when or why these changes are taking place. Due to this, this repo could break at anytime. If a break does occur, please open up an issue at https://github.com/RbxAPI/Pyblox detailing the error.

Installing

There's now two ways to install Pyblox. You may now do it through pip: pip install pyblox3 or do it manually below:

1. Download or Clone this repo
2. Place the "pyblox" folder into C:\Users\YOURUSERNAMEONWINDOWSMACHINE\AppData\Local\Programs\Python\Python35-32\Lib\site-packages

MacOS and Linux are supported but installation will vary. This was developed on a windows-based machine and thus, it's recommended to use windows.

Please note that the "Clone" method is regulary updated. However, the pip-version is often behind.

Quick Example

from pyblox3 import Friends # Imports the Friends class from pyblox wrapper 

def GetAllFriends():
	CoolPeople = Friends.friendList(1) # Takes page number
	print(CoolPeople) # Returns usernames and prints them on console

GetAllFriends() # Calls "GetAllFriends" method

Requirements

  • Python 3+
  • pip install requests

note: requests may have been already installed. python 2x version can be found https://github.com/Sanjay-B/Pyblox/tree/python2

Related Projects

https://github.com/sentanos/roblox-js https://github.com/CrescentCode/RobloxCommunication https://github.com/NoahCristino/robloxlib https://github.com/winfamy/nodeblox https://github.com/gamenew09/RobloxAPI https://github.com/NevermoreFramework/Nevermore