Python API for interacting with the Roberts Space Industries site for Star Citizen.
Project description
Python RSI
Python API for interactive with the Roberts Space Industries site for Star Citizen.
Free software: MIT license
Documentation: https://pyrsi.readthedocs.io.
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')
Accessing ship information:
from rsi.shipmatrix import ShipMatrixAPI
ships = ShipMatrixAPI()
ship = ships.list()[0]
ship = ships.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
History
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
pyrsi-0.1.11-py2.py3-none-any.whl
(12.5 kB
view hashes)
Close
Hashes for pyrsi-0.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24cda3fc0e61031fa60b94c13515db8d0772f49b3418c3a99abef79bdb7d02cd |
|
MD5 | c879bafd98ff184906be59dfc496197b |
|
BLAKE2b-256 | 533a13834a173557942746f18fddebd869e90bc0f96e872e32e8358d107dec11 |