mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 12:35:26 +00:00
update example
This commit is contained in:
@@ -1,3 +1,20 @@
|
|||||||
import pyspapi
|
import pyspapi
|
||||||
|
|
||||||
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797'))
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797'))
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').timestamp)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').id)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').name)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').is_legacy_profile)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').cape_url)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').skin_url)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').skin_model)
|
||||||
|
|
||||||
|
print(pyspapi.MojangAPI.get_profile(uuid='63ed47877aa3470fbfc46c5356c3d797').skin)
|
||||||
|
|
||||||
|
|||||||
@@ -4,4 +4,8 @@ spapi = pyspapi.SPAPI(card_id='card_id', token='token')
|
|||||||
|
|
||||||
print(spapi.get_user(262632724928397312))
|
print(spapi.get_user(262632724928397312))
|
||||||
|
|
||||||
|
print(spapi.get_user(262632724928397312).username)
|
||||||
|
|
||||||
|
print(spapi.get_user(262632724928397312).access)
|
||||||
|
|
||||||
print(spapi.get_users([262632724928397312, 264329096920563714]))
|
print(spapi.get_users([262632724928397312, 264329096920563714]))
|
||||||
|
|||||||
Reference in New Issue
Block a user