This commit is contained in:
sjk
2026-01-13 18:59:26 +08:00
commit 7feccf246d
56 changed files with 11596 additions and 0 deletions

44
localAPI-main/README.md Normal file
View File

@@ -0,0 +1,44 @@
# localAPI
AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts. Besides, it can cooperate with Selenium and Puppeteer to execute browser operations automatically.
<br />
> ## How to Use AdsPower Local API
- Users of AdsPower team collaboration version have access to API
- Start AdsPower, log in the account with API permission
- Go to Account Management-> Setting-> Local API to check the following items
- API status: Success
- API address: http://local.adspower.net:50325/ or http://localhost:50325/ (port: 50325, which might change and subjects to the address in the setting).
- Script can go to Profile Management-> click Settings-> click Cache folder-> local_api file to obtain API address
- Use script or http request tool to invoke Local API, allow to configure account data, browser fingerprint, open or close browser and other operations
- API parameter type: string, Post format: JSON, unnecessary parameters are optional and can not be passed
- Access frequency control for all APIs, max. access frequency: 1 request/second
- At the same time, it supports the mode of no-interface api-key to start the Local API service. For details, see: [Local Api Doc](https://localapi-doc-en.adspower.com/)
<br />
> ## **What the Local API supports**
- [x] API Status
- [x] Browser Operation
- [x] Open Browser
- [x] Close Browser
- [x] Check Open Status
- [x] Group Management
- [x] Create Group
- [ ] Update Group(coming soon)
- [x] Query Group
- [x] Profile Management
- [x] Create Profile
- [x] Update Profile
- [x] Query Profile
- [x] Delete Profile
- [x] Update Profile Group
- [x] Delete Profile Cache
<br />
## More Details
👉[Local Api Doc](https://localapi-doc-en.adspower.com/)

View File

@@ -0,0 +1,249 @@
{
"ad": "Andorra",
"ae": "United Arab Emirates",
"af": "Afghanistan",
"ag": "Antigua & Barbuda",
"ai": "Anguilla",
"al": "Albania",
"am": "Armenia",
"ao": "Angola",
"aq": "Antarctica",
"ar": "Argentina",
"as": "American Samoa",
"at": "Austria",
"au": "Australia",
"aw": "Aruba",
"ax": "_land Islands",
"az": "Azerbaijan",
"ba": "Bosnia & Herzegovina",
"bb": "Barbados",
"bd": "Bangladesh",
"be": "Belgium",
"bf": "Burkina",
"bg": "Bulgaria",
"bh": "Bahrain",
"bi": "Burundi",
"bj": "Benin",
"bl": "Saint Barthélemy",
"bm": "Bermuda",
"bn": "Brunei",
"bo": "Bolivia",
"bq": "Caribbean Netherlands",
"br": "Brazil",
"bs": "The Bahamas",
"bt": "Bhutan",
"bv": "Bouvet Island",
"bw": "Botswana",
"by": "Belarus",
"bz": "Belize",
"ca": "Canada",
"cc": "Cocos (Keeling) Islands",
"cf": "Central African Republic",
"ch": "Switzerland",
"cl": "Chile",
"cm": "Cameroon",
"co": "Colombia",
"cr": "Costa Rica",
"cu": "Cuba",
"cv": "Cape Verde",
"cx": "Christmas Island",
"cy": "Cyprus",
"cz": "Czech Republic",
"de": "Germany",
"dj": "Djibouti",
"dk": "Denmark",
"dm": "Dominica",
"do": "Dominican Republic",
"dz": "Algeria",
"ec": "Ecuador",
"ee": "Estonia",
"eg": "Egypt",
"eh": "Western Sahara",
"er": "Eritrea",
"es": "Spain",
"fi": "Finland",
"fj": "Fiji",
"fk": "Falkland Islands",
"fm": "Federated States of Micronesia",
"fo": "Faroe Islands",
"fr": "France",
"ga": "Gabon",
"gd": "Grenada",
"ge": "Georgia",
"gf": "French Guiana",
"gh": "Ghana",
"gi": "Gibraltar",
"gl": "Greenland",
"gn": "Guinea",
"gp": "Guadeloupe",
"gq": "Equatorial Guinea",
"gr": "Greece",
"gs": "South Georgia and the South Sandwich Islands",
"gt": "Guatemala",
"gu": "Guam",
"gw": "Guinea-Bissau",
"gy": "Guyana",
"hk": "China Hong Kong",
"hm": "Heard Island and McDonald Islands",
"hn": "Honduras",
"hr": "Croatia",
"ht": "Haiti",
"hu": "Hungary",
"id": "Indonesia",
"ie": "Ireland",
"il": "Israel",
"im": "Isle of Man",
"in": "India",
"io": "British Indian Ocean Territory",
"iq": "Iraq",
"ir": "Iran",
"is": "Iceland",
"it": "Italy",
"je": "Jersey",
"jm": "Jamaica",
"jo": "Jordan",
"jp": "Japan",
"kh": "Cambodia",
"ki": "Kiribati",
"km": "The Comoros",
"kw": "Kuwait",
"ky": "Cayman Islands",
"lb": "Lebanon",
"li": "Liechtenstein",
"lk": "Sri Lanka",
"lr": "Liberia",
"ls": "Lesotho",
"lt": "Lithuania",
"lu": "Luxembourg",
"lv": "Latvia",
"ly": "Libya",
"ma": "Morocco",
"mc": "Monaco",
"md": "Moldova",
"me": "Montenegro",
"mf": "Saint Martin (France)",
"mg": "Madagascar",
"mh": "Marshall islands",
"mk": "Republic of Macedonia (FYROM)",
"ml": "Mali",
"mm": "Myanmar (Burma)",
"mo": "China Macao",
"mq": "Martinique",
"mr": "Mauritania",
"ms": "Montserrat",
"mt": "Malta",
"mv": "Maldives",
"mw": "Malawi",
"mx": "Mexico",
"my": "Malaysia",
"na": "Namibia",
"ne": "Niger",
"nf": "Norfolk Island",
"ng": "Nigeria",
"ni": "Nicaragua",
"nl": "Netherlands",
"no": "Norway",
"np": "Nepal",
"nr": "Nauru",
"om": "Oman",
"pa": "Panama",
"pe": "Peru",
"pf": "French polynesia",
"pg": "Papua New Guinea",
"ph": "The Philippines",
"pk": "Pakistan",
"pl": "Poland",
"pn": "Pitcairn Islands",
"pr": "Puerto Rico",
"ps": "Palestinian territories",
"pw": "Palau",
"py": "Paraguay",
"qa": "Qatar",
"re": "Réunion",
"ro": "Romania",
"rs": "Serbia",
"ru": "Russian Federation",
"rw": "Rwanda",
"sb": "Solomon Islands",
"sc": "Seychelles",
"sd": "Sudan",
"se": "Sweden",
"sg": "Singapore",
"si": "Slovenia",
"sj": "Template:Country data SJM Svalbard",
"sk": "Slovakia",
"sl": "Sierra Leone",
"sm": "San Marino",
"sn": "Senegal",
"so": "Somalia",
"sr": "Suriname",
"ss": "South Sudan",
"st": "Sao Tome & Principe",
"sv": "El Salvador",
"sy": "Syria",
"sz": "Swaziland",
"tc": "Turks & Caicos Islands",
"td": "Chad",
"tg": "Togo",
"th": "Thailand",
"tk": "Tokelau",
"tl": "Timor-Leste (East Timor)",
"tn": "Tunisia",
"to": "Tonga",
"tr": "Turkey",
"tv": "Tuvalu",
"tz": "Tanzania",
"ua": "Ukraine",
"ug": "Uganda",
"us": "United States of America (USA)",
"uy": "Uruguay",
"va": "Vatican City (The Holy See)",
"ve": "Venezuela",
"vg": "British Virgin Islands",
"vi": "United States Virgin Islands",
"vn": "Vietnam",
"wf": "Wallis and Futuna",
"ws": "Samoa",
"ye": "Yemen",
"yt": "Mayotte",
"za": "South Africa",
"zm": "Zambia",
"zw": "Zimbabwe",
"cn": "China",
"cg": "Republic of the Congo",
"cd": "Democratic Republic of the Congo",
"mz": "Mozambique",
"gg": "Guernsey",
"gm": "Gambia",
"mp": "Northern Mariana Islands",
"et": "Ethiopia",
"nc": "New Caledonia",
"vu": "Vanuatu",
"tf": "French Southern Territories",
"nu": "Niue",
"um": "United States Minor Outlying Islands",
"ck": "Cook Islands",
"gb": "Great Britain",
"tt": "Trinidad & Tobago",
"vc": "St. Vincent & the Grenadines",
"tw": "China Taiwan",
"nz": "New Zealand",
"sa": "Saudi Arabia",
"la": "Laos",
"kp": "North Korea",
"kr": "South Korea",
"pt": "Portugal",
"kg": "Kyrgyzstan",
"kz": "Kazakhstan",
"tj": "Tajikistan",
"tm": "Turkmenistan",
"uz": "Uzbekistan",
"kn": "St. Kitts & Nevis",
"pm": "Saint-Pierre and Miquelon",
"sh": "St. Helena & Dependencies",
"lc": "St. Lucia",
"mu": "Mauritius",
"ci": "C_te d'Ivoire",
"ke": "Kenya",
"mn": "Mongolia"
}

185
localAPI-main/font.js Normal file
View File

@@ -0,0 +1,185 @@
const fonts = [
"Arial",
"Calibri",
"Cambria",
"Cambria Math",
"Candara",
"Comic Sans MS",
"Comic Sans MS Bold",
"Comic Sans",
"Consolas",
"Constantia",
"Corbel",
"Courier New",
"Caurier Regular",
"Ebrima",
"Fixedsys Regular",
"Franklin Gothic",
"Gabriola Regular",
"Gadugi",
"Georgia",
"HoloLens MDL2 Assets Regular",
"Impact Regular",
"Javanese Text Regular",
"Leelawadee UI",
"Lucida Console Regular",
"Lucida Sans Unicode Regular",
"Malgun Gothic",
"Microsoft Himalaya Regular",
"Microsoft JhengHei",
"Microsoft JhengHei UI",
"Microsoft PhangsPa",
"Microsoft Sans Serif Regular",
"Microsoft Tai Le",
"Microsoft YaHei",
"Microsoft YaHei UI",
"Microsoft Yi Baiti Regular",
"MingLiU_HKSCS-ExtB Regular",
"MingLiu-ExtB Regular",
"Modern Regular",
"Mongolia Baiti Regular",
"MS Gothic Regular",
"MS PGothic Regular",
"MS Sans Serif Regular",
"MS Serif Regular",
"MS UI Gothic Regular",
"MV Boli Regular",
"Myanmar Text",
"Nimarla UI",
"MV Boli Regular",
"Myanmar Tet",
"Nirmala UI",
"NSimSun Regular",
"Palatino Linotype",
"PMingLiU-ExtB Regular",
"Roman Regular",
"Script Regular",
"Segoe MDL2 Assets Regular",
"Segoe Print",
"Segoe Script",
"Segoe UI",
"Segoe UI Emoji Regular",
"Segoe UI Historic Regular",
"Segoe UI Symbol Regular",
"SimSun Regular",
"SimSun-ExtB Regular",
"Sitka Banner",
"Sitka Display",
"Sitka Heading",
"Sitka Small",
"Sitka Subheading",
"Sitka Text",
"Small Fonts Regular",
"Sylfaen Regular",
"Symbol Regular",
"System Bold",
"Tahoma",
"Terminal",
"Times New Roman",
"Trebuchet MS",
"Verdana",
"Webdings Regular",
"Wingdings Regular",
"Yu Gothic",
"Yu Gothic UI",
"Arial",
"Arial Black",
"Calibri",
"Calibri Light",
"Cambria",
"Cambria Math",
"Candara",
"Comic Sans MS",
"Consolas",
"Constantia",
"Corbel",
"Courier",
"Courier New",
"Ebrima",
"Fixedsys",
"Franklin Gothic Medium",
"Gabriola",
"Gadugi",
"Georgia",
"HoloLens MDL2 Assets",
"Impact",
"Javanese Text",
"Leelawadee UI",
"Leelawadee UI Semilight",
"Lucida Console",
"Lucida Sans Unicode",
"MS Gothic",
"MS PGothic",
"MS Sans Serif",
"MS Serif",
"MS UI Gothic",
"MV Boli",
"Malgun Gothic",
"Malgun Gothic Semilight",
"Marlett",
"Microsoft Himalaya",
"Microsoft JhengHei",
"Microsoft JhengHei Light",
"Microsoft JhengHei UI",
"Microsoft JhengHei UI Light",
"Microsoft New Tai Lue",
"Microsoft PhagsPa",
"Microsoft Sans Serif",
"Microsoft Tai Le",
"Microsoft YaHei",
"Microsoft YaHei Light",
"Microsoft YaHei UI",
"Microsoft YaHei UI Light",
"Microsoft Yi Baiti",
"MingLiU-ExtB",
"MingLiU_HKSCS-ExtB",
"Modern",
"Mongolian Baiti",
"Myanmar Text",
"NSimSun",
"Nirmala UI",
"Nirmala UI Semilight",
"PMingLiU-ExtB",
"Palatino Linotype",
"Roman",
"Script",
"Segoe MDL2 Assets",
"Segoe Print",
"Segoe Script",
"Segoe UI",
"Segoe UI Black",
"Segoe UI Emoji",
"Segoe UI Historic",
"Segoe UI Light",
"Segoe UI Semibold",
"Segoe UI Semilight",
"Segoe UI Symbol",
"SimSun",
"SimSun-ExtB",
"Sitka Banner",
"Sitka Display",
"Sitka Heading",
"Sitka Small",
"Sitka Subheading",
"Sitka Text",
"Small Fonts",
"Sylfaen",
"Symbol",
"System",
"Tahoma",
"Terminal",
"Times New Roman",
"Trebuchet MS",
"Verdana",
"Webdings",
"Wingdings",
"Yu Gothic",
"Yu Gothic Light",
"Yu Gothic Medium",
"Yu Gothic UI",
"Yu Gothic UI Light",
"Yu Gothic UI Semibold",
"Yu Gothic UI Semilight"
];
module.exports = fonts;

View File

@@ -0,0 +1,17 @@
const axios = require('axios');
const profileId = 'XX';
const config = {
method: 'get',
url: `http://localhost:50325/api/v1/browser/active?user_id=${profileId}`,
headers: { }
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,21 @@
const axios = require('axios');
const data = {
group_name: "your_group_name"
};
const config = {
method: 'post',
url: 'http://local.adspower.net:50325/api/v1/group/create',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,48 @@
var axios = require('axios');
var data = {
"name": "test",
"group_id": "0",
"domain_name": "facebook.com",
"repeat_config": [
"0"
],
"country": "us",
"fingerprint_config": {
"language": [
"en-US"
],
"ua": "Mozilla/5.0 (Linux; Android 8.0.0; BND-AL10 Build/HONORBND-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/11.5 baiduboxapp/11.5.0.10 (Baidu; P1 8.0.0)",
"flash": "block",
"scan_port_type": "1",
"screen_resolution": "1024_600",
"fonts": [
"all"
],
"longitude": "180",
"latitude": "90",
"webrtc": "proxy",
"do_not_track": "true",
"hardware_concurrency": "default",
"device_memory": "default"
},
"user_proxy_config": {
"proxy_soft": "no_proxy"
}
};
var config = {
method: 'post',
url: 'http://local.adspower.net:50325/api/v1/user/create',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,15 @@
const axios = require('axios');
const config = {
method: 'post',
url: 'http://localhost:50325/api/v1/user/delete-cache',
headers: { }
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,23 @@
const axios = require('axios');
const data = {
"user_ids": [
"XX"
]
};
const config = {
method: 'post',
url: 'http://localhost:50325/api/v1/user/delete',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,15 @@
const axios = require('axios');
const config = {
method: 'get',
url: 'http://local.adspower.net:50325/api/v1/group/list?page=1&page_size=15',
headers: { }
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,15 @@
const axios = require('axios');
const config = {
method: 'get',
url: 'http://local.adspower.net:50325/api/v1/user/list?page=1&page_size=100',
headers: { }
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,24 @@
const axios = require('axios');
const data = {
"user_ids": [
"XX"
],
"group_id": "0"
};
const config = {
method: 'post',
url: 'http://local.adspower.net:50325/api/v1/user/regroup',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,27 @@
const axios = require('axios');
const puppeteer = require('puppeteer-core');
const profileId = 'XXX';
// http://local.adspower.net:50325: Script can go to Profile Management-> click Settings-> click Cache folder-> local_api file to obtain API address
axios.get(`http://local.adspower.net:50325/api/v1/browser/start?user_id=${profileId}`).then(async (res) => {
console.log(res.data);
if(res.data.code === 0 && res.data.data.ws && res.data.data.ws.puppeteer) {
try{
const browser = await puppeteer.connect({
browserWSEndpoint: res.data.data.ws.puppeteer,
defaultViewport:null
});
const page = await browser.newPage();
await page.goto('https://www.adspower.com');
await page.screenshot({ path: './adspower.png' });
await browser.close();
} catch(err){
console.log(err.message);
}
}
}).catch((err) => {
console.log(err)
})

View File

@@ -0,0 +1,16 @@
const axios = require('axios');
const profileId = 'XX';
const config = {
method: 'get',
url: `http://local.adspower.net:50325/api/v1/browser/stop?user_id=${profileId}`,
headers: { }
};
axios(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});

View File

@@ -0,0 +1,41 @@
const axios = require('axios');
const data = {
"user_id": "XX",
"name": "test",
"domain_name": "facebook.com",
"repeat_config": [
"0"
],
"open_urls": [
"http://www.baidu.com",
"https://www.google.com"
],
"country": "us",
"remark": "remark",
"fingerprint_config": {
"webrtc": "proxy",
"do_not_track": "true",
"hardware_concurrency": "default",
"device_memory": "default"
},
"user_proxy_config": {
"proxy_soft": "no_proxy"
}
};
const config = {
method: 'post',
url: 'http://local.adspower.net:50325/api/v1/user/update',
headers: {
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});

2160
localAPI-main/language.js Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
import requests
profileId = 'XX'
url = "http://localhost:50325/api/v1/browser/active?user_id=" + profileId
response = requests.request("GET", url, headers={}, data={})
print(response.text)

View File

@@ -0,0 +1,15 @@
import json
import requests
url = "http://local.adspower.net:50325/api/v1/group/create"
payload = {
"group_name": "your_group_name"
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

View File

@@ -0,0 +1,41 @@
import requests
url = "http://local.adspower.net:50325/api/v1/user/create"
payload = {
"name": "test",
"group_id": "0",
"domain_name": "facebook.com",
"repeat_config": [
"0"
],
"country": "us",
"fingerprint_config": {
"language": [
"en-US"
],
"ua": "Mozilla/5.0 (Linux; Android 8.0.0; BND-AL10 Build/HONORBND-AL10; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/63.0.3239.83 Mobile Safari/537.36 T7/11.5 baiduboxapp/11.5.0.10 (Baidu; P1 8.0.0)",
"flash": "block",
"scan_port_type": "1",
"screen_resolution": "1024_600",
"fonts": [
"all"
],
"longitude": "180",
"latitude": "90",
"webrtc": "proxy",
"do_not_track": "true",
"hardware_concurrency": "default",
"device_memory": "default"
},
"user_proxy_config": {
"proxy_soft": "no_proxy"
}
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

View File

@@ -0,0 +1,10 @@
import requests
url = "http://localhost:50325/api/v1/user/delete-cache"
payload={}
headers = {}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

View File

@@ -0,0 +1,16 @@
import requests
url = "http://localhost:50325/api/v1/user/delete"
payload = {
"user_ids": [
"XX"
]
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

View File

@@ -0,0 +1,10 @@
import requests
url = "http://local.adspower.net:50325/api/v1/group/list?page=1&page_size=15"
payload={}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)

View File

@@ -0,0 +1,10 @@
import requests
url = "http://local.adspower.net:50325/api/v1/user/list?page=1&page_size=100"
payload={}
headers = {}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)

View File

@@ -0,0 +1,17 @@
import requests
url = "http://local.adspower.net:50325/api/v1/user/regroup"
payload = {
"user_ids": [
"XX"
],
"group_id": "0"
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

View File

@@ -0,0 +1,27 @@
# The sample passed the test in selenium version 3.141.0
import requests,time
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import sys
ads_id = "XXX"
# http://local.adspower.net:50325 Script can go to Profile Management-> click Settings-> click Cache folder-> local_api file to obtain API address
open_url = "http://local.adspower.net:50325/api/v1/browser/start?user_id=" + ads_id
close_url = "http://local.adspower.net:50325/api/v1/browser/stop?user_id=" + ads_id
resp = requests.get(open_url).json()
if resp["code"] != 0:
print(resp["msg"])
print("please check ads_id")
sys.exit()
chrome_driver = resp["data"]["webdriver"]
chrome_options = Options()
chrome_options.add_experimental_option("debuggerAddress", resp["data"]["ws"]["selenium"])
driver = webdriver.Chrome(chrome_driver, options=chrome_options)
print(driver.title)
driver.get("https://www.adspower.com")
time.sleep(5)
driver.quit()
requests.get(close_url)

View File

@@ -0,0 +1,8 @@
import requests
profildId = 'XX'
url = "http://local.adspower.net:50325/api/v1/browser/stop?user_id=" + profildId
response = requests.request("GET", url, headers={}, data={})
print(response.text)

View File

@@ -0,0 +1,34 @@
import requests
url = "http://local.adspower.net:50325/api/v1/user/update"
payload = {
"user_id": "XX",
"name": "test",
"domain_name": "facebook.com",
"repeat_config": [
"0"
],
"open_urls": [
"http://www.baidu.com",
"https://www.google.com"
],
"country": "us",
"remark": "remark",
"fingerprint_config": {
"webrtc": "proxy",
"do_not_track": "true",
"hardware_concurrency": "default",
"device_memory": "default"
},
"user_proxy_config": {
"proxy_soft": "no_proxy"
}
}
headers = {
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, json=payload)
print(response.text)

1916
localAPI-main/timezone.js Normal file

File diff suppressed because it is too large Load Diff