Skip to main content

An API wrapper for Roblox written in Python.

Project description

Pyblox

GitHub license Travis ROBLOX API Discord Downloads

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 users wanting a Python 2x-compatible version: https://github.com/RbxAPI/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 on this repo detailing the error.

Master - This branch is at version 2.4.4 . Those with 2.4.1 may update to this branch without breaking changes. Addresses critical issues and is maintained. Will be uploaded to pip sometime soon.

nightly_build - Starts at version 3.x.x . Those with 2.4.1 or 2.4.2 may update to this branch with breaking changes. Features a more organized and powerful version of Pyblox that predicates itself on OOP (Object Orientated Programming) and async (non-blocking method calls / instances). Working towards 100% API coverage and will be marked as master once 80% coverage is completed. Will be uploaded to pip sometime soon.

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 your userid
	print(CoolPeople) # Returns usernames and prints them in the console

GetAllFriends() # Calls "GetAllFriends" method

Requirements

  • Python 3+
  • pip install requests

note: requests may have been already installed.

Related Projects

https://github.com/iranathan/robloxapi

https://github.com/NoahCristino/robloxlib

https://github.com/sentanos/roblox-js

https://github.com/MartinRBX/bloxy

https://github.com/suufi/noblox.js

https://github.com/gamenew09/RobloxAPI

https://github.com/RbxAPI/Javablox

https://github.com/PizzaCrust/Roblox4j

https://github.com/PizzaCrust/KotlinRoblox

https://github.com/FreeLineTM/roblox.kt

https://github.com/NevermoreFramework/Nevermore

https://github.com/Meqolo/cblox

https://github.com/CrescentCode/RobloxCommunication

https://github.com/OliverHensworth/roblox.lua/

https://github.com/OliverHensworth/roblox.rb

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyblox3-2.4.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyblox3-2.4.4-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pyblox3-2.4.4.tar.gz.

File metadata

  • Download URL: pyblox3-2.4.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for pyblox3-2.4.4.tar.gz
Algorithm Hash digest
SHA256 a4e9a8e109766f40248445099df0e7bc045b0099c8e5c8ebedb5289dd9fd6383
MD5 7f1209e5ec8587ba6c3f61933b03e6c4
BLAKE2b-256 3c64eaf10ae90e9c70e29c2ab8f0a15f8fc561a561fbb6f14d08a53fbd86c061

See more details on using hashes here.

File details

Details for the file pyblox3-2.4.4-py3-none-any.whl.

File metadata

  • Download URL: pyblox3-2.4.4-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for pyblox3-2.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d3cd4d643b7366b53df34841fa11f8e699ceffdb10f7409639bd5cff9fc3adf0
MD5 f72758f18585d8ebe98b205a6f13575d
BLAKE2b-256 423e60a33b2e834c73ac980cee2d17f707155b7e2e093482206d632acaa0ccfe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page