All Projects → xboxapi → Python-Wrapper

xboxapi / Python-Wrapper

Licence: MIT License
Python wrapper for https://xapi.us

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Python-Wrapper

fatx-tools
Data recovery tools for FATX drives (XBOX and XBOX 360).
Stars: ✭ 51 (+34.21%)
Mutual labels:  xbox
OpenXDK
OpenXDK is an Open Source, Free, Legal Xbox Development Kit. OpenXDK is being developed to facilitate hobbyist and "homebrew" coding for the Microsoft XBox.
Stars: ✭ 23 (-39.47%)
Mutual labels:  xbox
xqemu-hdd-image
Copyright-Free Xbox HDD Image
Stars: ✭ 38 (+0%)
Mutual labels:  xbox
gamepad.js
A simple HTML5 Gamepad handler that provides keyboard-like events for Gamepad sticks and buttons.
Stars: ✭ 21 (-44.74%)
Mutual labels:  xbox
VDX
XInput/x360ce to ViGEm sample application
Stars: ✭ 58 (+52.63%)
Mutual labels:  xbox
SteamAchievementNotifier
Steam Achievement Notifier is an Electron application that shows a customisable notification when you unlock any Steam Achievement! It uses the Steam Web API to track achievement stats in real time, and displays an achievement summary within the notification.
Stars: ✭ 77 (+102.63%)
Mutual labels:  xbox
cromwell
A free, legal BIOS replacement for the original Xbox
Stars: ✭ 64 (+68.42%)
Mutual labels:  xbox
xbox-client-ffmpeg
Multi-platform Gamestreaming app
Stars: ✭ 17 (-55.26%)
Mutual labels:  xbox
Xb2XInput
XB2X: User-mode Windows driver for Xbox OG controllers, supporting both XInput and DirectInput.
Stars: ✭ 70 (+84.21%)
Mutual labels:  xbox
H2 ALSH
Accurate and Fast ALSH for Maximum Inner Product Search (KDD 2018)
Stars: ✭ 18 (-52.63%)
Mutual labels:  xbox
xboxpy
Python module to interface with original Xbox hard- and software
Stars: ✭ 23 (-39.47%)
Mutual labels:  xbox
xcloud-keyboard-mouse
Chrome extension for controlling Xbox Cloud Gaming (Project xCloud) using a keyboard and mouse
Stars: ✭ 78 (+105.26%)
Mutual labels:  xbox
parquet-dotnet
🐬 Apache Parquet for modern .Net
Stars: ✭ 199 (+423.68%)
Mutual labels:  xbox
QuantumTunnel
A Xbox One/Series Flash Dumper for SystemOS created in C#.
Stars: ✭ 19 (-50%)
Mutual labels:  xbox
pac-man-emulator
🕹 An emulator for the Pac-Man arcade machine (Zilog Z80 CPU) for Win/Mac/*nix and Xbox One.
Stars: ✭ 20 (-47.37%)
Mutual labels:  xbox
XboxDownload
Xbox下载助手,支持Xbox、微软商店、PS、NS、EA Desktop & Origin、战网国际服、Epic下载加速,修复Steam商店社区访问。
Stars: ✭ 936 (+2363.16%)
Mutual labels:  xbox
nv2a-trace
A tracing software like apitrace for the original Xbox GPU
Stars: ✭ 20 (-47.37%)
Mutual labels:  xbox
xbox kernel test suite
Xbox kernel APIs tester written using nxdk
Stars: ✭ 17 (-55.26%)
Mutual labels:  xbox
XboxDev
Information about XboxDev and issue tracker for the entire XboxDev ecosystem
Stars: ✭ 64 (+68.42%)
Mutual labels:  xbox
NevolutionX
Original Xbox dashboard created with nxdk
Stars: ✭ 76 (+100%)
Mutual labels:  xbox

Description

This is a Python wrapper for the unofficial Xbox API

Build Status

Installation

For now you will have to install manually, as I didn't upload the initial version to pypi (pip).

  1. Clone this repo
  2. Place the xboxapi directory in your project

The only dependency is requests library.

Usage

This is a basic example of how to create a client and fetch a gamers profile information from their gamertag.

from xboxapi import Client

client = Client(api_key=<api_key>)
gamer = client.gamer('voidpirate')

profile = gamer.get('profile')

Client class constructor takes the following optional arguments except api_key.

Argument Value Short Description
api_key string api token from Xbox API
timeout int how long until the request times out (seconds)
lang string country language code (e.g. for German (de-DE))

Client class public methods.

Method Value Optional Short Description
gamer(gamertag=<string>) string xuid=<string> gamertag to lookup
calls_remaining() n/a n/a Return headers about api rate limits

A note about the gamer method. If you already know the gamers xuid you can use that instead to avoid an additional api call when using only a gamertag.

Gamer class public methods, returned from gamer method in Client.

Method Value Optional Short Description
get(method=<string>) string term=<string> API calls.
send_message(message=<string>) string n/a Send a message to gamer
send_activity(message=<string>) string n/a Update your activity feed with a message

Pagination is supported in this client and all handled through get method. It works by detecting the response header for pagination, any subsequent calls to the same api endpoint will return paged data. If another api call is made to a different endpoint, the pagination token will be cleared and results will not be paged.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].