This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Example script to upload files to MirrorAce.com via api. */ | |
/* Detailed information on API available at https://mirrorace.com/api. */ | |
/* Author: MirrorAce */ | |
/* URL: https://mirrorace.com */ | |
//vars | |
$api_key = '0123456789abcdefabcdefabcdefabcd'; | |
$api_token = '0123456789abcdefabcdefabcdefabcd'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Example script to upload files to MirrorAce via api. */ | |
Detailed information on API available at https://mirrorace.org/api. */ | |
Author: MirrorAce */ | |
URL: https://mirrorace.org */ | |
""" | |
from requests import Session | |
import mimetypes | |
from pathlib import Path |