Skip to main content

Python RSI

A community made Python API for interactive with the Roberts Space Industries site for Star Citizen.

Features

  • TODO

Examples

Getting system status:

from rsi.status import Status
s = Status()
current_status = s.system()
recent_incidents = s.timeline()
specific_incident = s.incident('28f92e5a')

Getting Roadmap information:

from datetime import datetime
from rsi.roadmap import Roadmap
r = Roadmap()
cur_roadmap = r.fetch_roadmap(start_date=datetime(year=2021, month=1, day=1),
                              end_date=datetime(year=2021, month=12, day=31))

Accessing ship information:

from rsi.shipmatrix import ShipMatrixAPI
ship_matrix = ShipMatrixAPI()
ship = ship_matrix.ships[170]      # ships is a dictionary, keys are ship IDs
ship = ship_matrix.search_by_name('kraken')

Accessing citizen information:

from rsi.citizen import fetch_citizen
fetch_citizen('ventorvar')

Accessing org information:

from rsi.org import OrgAPI
org = OrgAPI('EXTERRA')
member = org.members[0]

Accessing admin org information for an organization that you have the Officer or Founder role for. This let’s you see the member information for hidden members.

from rsi.org import OrgAPI
org = OrgAPI('EXTERRA', admin_mode=True, username=username, password=password)
member = org.members[0]
members = org.search('fuzzy_handle_matching')     # list of members using fuzzy matching
member = org.search_one('fuzzy_handle_matching')  # returns only the top match

Accessing your hangar:

Hangar access is only for the currently authenticated account.

import rsi
session = rsi.session.RSISession()
session.authenticate('username', 'password')
hangar = rsi.hangar.Hangar(session=session)
print(hangar.ships)
Made By the Star Citizen Community

This project is not endorsed by or affiliated with the Cloud Imperium or Roberts Space Industries group of companies. All game content and materials are copyright Cloud Imperium Rights LLC and Cloud Imperium Rights Ltd.. Star Citizen®, Squadron 42®, Roberts Space Industries®, and Cloud Imperium® are registered trademarks of Cloud Imperium Rights LLC. All rights reserved.

History

0.1.18 (2021-01-11)

  • Added Hangar support

0.1.16 (2020-12-30)

  • Moved to GitLab

0.1.15 (2020-12-23)

  • Added new Roadmap API

0.1.11 (2020-05-02)

  • Added RSI status page API

0.1.2 (2018-12-27)

  • Added Authentication and session management required for accessing privileged Organization members list

0.1.0 (2018-12-10)

  • Initial commit

Metadata

Release files for pyrsi 0.1.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyrsi 0.1.19
File Size Uploaded
pyrsi-0.1.19.tar.gz 105.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyrsi 0.1.19
File Interpreter ABI Platform
pyrsi-0.1.19-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 125.6 kB

Release files / pyrsi-0.1.19.tar.gz

Download URL pyrsi-0.1.19.tar.gz
Size 105.6 kB
Tags Source
SHA-256 checksum
How to use checksums
08a4871e371feea006947fd7c0c8accf6ebfc9f53a7c71ef580b92bf197612db
BLAKE2b-256 checksum
How to use checksums
82ffbd3b493fe4cc8ddd3cdc3c87f669a5567408391835d319cd440b838fd989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

Release files / pyrsi-0.1.19-py2.py3-none-any.whl

Download URL pyrsi-0.1.19-py2.py3-none-any.whl
Size 20.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
fa411fd193acacc2a46da78d7abafccd2813df7862efaa203ef91d36315794de
BLAKE2b-256 checksum
How to use checksums
6de392d33e8730c83d7ecc078b81e4703d14bfaa6467e662cd0ed2b91365f8e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.19 This release

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

1 release file

0.1.13

2 release files

0.1.12

2 release files

0.1.11

1 release file

0.1.10

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page