o
    @Gh:                     @   s   d dl Z d dlZdddZdS )    Nc                 C   sX   |}dd|  ddd}t j||d}|jdkr"| }|d }|S td|j  d S )	Nzapplication/jsonzBearer TWD)zContent-TypeAuthorizationCurrencyExchange_code)headers   datazError: )requestsgetstatus_codejsonprint)
auth_tokenapi_urlurlr   responser   platform_list r   7/var/www/html/tg_maintain_bot/utils/get_all_platform.pyget_all_platform   s   
r   )NN)r	   r   r   r   r   r   r   <module>   s    