API wrapper forhttps/fortniteapi.com
fn-api-wrapper的Python项目详细描述
Fortnite API公司
正在安装:
窗口:py -3 -m pip install fn-api-wrapper
Linux/macOS:python3 -m pip install fn-api-wrapper
示例:
import fn_api_wrapper
fnapi = fn_api_wrapper.FortniteAPI()
Skin = fnapi.GetSkin(name="Ghoul Tr",matchMethod="starts",searchLanguage="en")
print(f'Skin ID : {Skin.id}')
输出:Skin ID : cid_029_athena_commando_f_halloween
获得战舰皇家商店
退货:
状态
哈希
日期
投票
获奖者
特色
每日
获取新闻(获取SavetheWorldNews、GetCreativeNews、GetBattleRoyaleNews)
退货:
状态
上次修改时间
消息
图像
参数:
语言(en/ar/de/es-419/es/fr/it/ja/ko/pl/pt BR/ru/tr/zh CN/zh Hant)
买化妆品
-获取皮肤
-获取背包
-鹤嘴锄
-GetEmote
-GetGlider
-GetEmoji
-获取加载屏幕
-GetTracil
-获取包裹
-获取音乐
-GetPet
-GetSpray
-盖托
-获取横幅
退货:
id
类型
后端类型
稀有性
后端稀有性
名称
简要说明
说明
设置
系列
后端系列
图像
变体
游戏标签
显示assetPath
定义
内置多媒体ID
requiredItemId
路径
上次更新
添加
参数:
id
名称ID
语言(默认为英语)en/ar/de/es-419/es/fr/it/ja/ko/pl/pt BR/ru/tr/zh-CN/zh-Hant
searchLanguage(默认为en)en/ar/de/es-419/es/fr/it/ja/ko/pl/pt BR/ru/tr/zh-CN/zh-Hant
matchMethod(默认值=full)完整/包含/开始/结束
类型字符串(不区分大小写)
后端类型字符串(不区分大小写)
稀有字符串(不区分大小写)
backendRarity字符串(不区分大小写)
名称字符串(不区分大小写,基于searchLanguage和matchMethod)
shortDescription字符串(不区分大小写,基于searchLanguage和matchMethod)
描述字符串(不区分大小写,基于searchLanguage和matchMethod)
set string(不区分大小写,基于searchLanguage和matchMethod)
序列字符串(不区分大小写,基于searchLanguage和matchMethod)
backendSeries字符串(不区分大小写)
hasSmallIcon真/假
hasIcon正确/错误
hasFeaturedImage真/假
hasBackgroundImage真/假
hasCoverArt真/假
hasdalap正确/错误
hasVariants真/假
hasGameplayTags真/假
gameplayTag字符串(不区分大小写)
- 项目
标签: