sbwrapper
v1.0.2
Published
API for my Discord bot and more
Downloads
37
Readme
#� �s�b�w�r�a�p�p�e�r�
�
�A�P�I� �H�y�p�i�x�e�l� �S�k�y�B�l�o�c�k� �(�s�e�r�v�e�u�r� �E�x�p�r�e�s�s�)� �+� �c�l�i�e�n�t� �H�T�T�P� �p�o�u�r� �b�o�t�s� �/� �s�c�r�i�p�t�s�.�
�
�#�#� �S�e�r�v�e�u�r�
�
����b�a�s�h�
�n�p�m� �i�n�s�t�a�l�l� �s�b�w�r�a�p�p�e�r�
�e�x�p�o�r�t� �H�Y�P�I�X�E�L�_�A�P�I�_�K�E�Y�=�.�.�.�
�e�x�p�o�r�t� �T�O�K�E�N�S�=�t�o�n�_�s�e�c�r�e�t�
�n�p�x� �s�b�w�r�a�p�p�e�r�
����
�
�#�#� �C�l�i�e�n�t� �n�p�m� �(�D�i�s�c�o�r�d�,� �e�t�c�.�)�
�
�I�n�s�t�a�l�l�e� �l�e� �p�a�q�u�e�t�,� �c�o�n�f�i�g�u�r�e� �u�n� �j�e�t�o�n� �a�u�t�o�r�i�s��� �p�a�r� �l�e� �s�e�r�v�e�u�r� �(��T�O�K�E�N�S��)� �:�
�
����b�a�s�h�
�e�x�p�o�r�t� �S�B�W�R�A�P�P�E�R�_�T�O�K�E�N�=�t�o�n�_�s�e�c�r�e�t�
����
�
����j�s�
�i�m�p�o�r�t� �{� �S�b�W�r�a�p�p�e�r�C�l�i�e�n�t� �}� �f�r�o�m� �"�s�b�w�r�a�p�p�e�r�/�c�l�i�e�n�t�"�;�
�
�c�o�n�s�t� �a�p�i� �=� �n�e�w� �S�b�W�r�a�p�p�e�r�C�l�i�e�n�t�(�)�;�
�/�/� �o�u� �:� �n�e�w� �S�b�W�r�a�p�p�e�r�C�l�i�e�n�t�(�{� �t�o�k�e�n�:� �"�.�.�.�"�,� �b�a�s�e�U�r�l�:� �"�h�t�t�p�s�:�/�/�a�u�t�r�e�-�d�o�m�a�i�n�e�.�f�r�"� �}�)�
�
�c�o�n�s�t� �{� �d�a�t�a�,� �p�r�o�f�i�l�e�s� �}� �=� �a�w�a�i�t� �a�p�i�.�g�e�t�V�2�P�r�o�f�i�l�e�s�(�"�u�u�i�d�-�s�a�n�s�-�t�i�r�e�t�s�-�o�u�-�a�v�e�c�"�)�;�
����
�
�M���t�h�o�d�e�s� �:� ��g�e�t�V�1�P�r�o�f�i�l�e�s�(�u�u�i�d�)��,� ��g�e�t�V�2�P�r�o�f�i�l�e�s�(�u�u�i�d�)��,� ��g�e�t�V�1�P�r�o�f�i�l�e�(�u�u�i�d�,� �p�r�o�f�i�l�e�I�d�)��.�
�
�P�a�r� �d���f�a�u�t�,� ��b�a�s�e�U�r�l�� �e�s�t� ��h�t�t�p�s�:�/�/�s�b�w�r�a�p�p�e�r�.�w�u�z�a�x�.�f�r�� �(�s�u�r�c�h�a�r�g�e� �p�o�s�s�i�b�l�e� �a�v�e�c� ��S�B�W�R�A�P�P�E�R�_�B�A�S�E�_�U�R�L�� �o�u� �l� o�p�t�i�o�n� ��b�a�s�e�U�r�l��)�.�
�
