Python API for interacting with the Roberts Space Industries site for Star Citizen.
A community made Python API for interactive with the Roberts Space Industries site for Star Citizen.
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 # 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
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 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)
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.
Added Hangar support
Moved to GitLab
Added new Roadmap API
Added RSI status page API
Added Authentication and session management required for accessing privileged Organization members list
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for pyrsi-0.1.19-py2.py3-none-any.whl