API wrapper for https://fortnite-api.com
Project description
Fortnite API
Installing:
Windows: py -3 -m pip install fn-api-wrapper
Linux/macOS: python3 -m pip install fn-api-wrapper
Example:
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}')
Output:
Skin ID : cid_029_athena_commando_f_halloween
Get BattleRoyale Shop
Returns:
status
hash
date
votes
voteWinners
featured
daily
Get News (GetSaveTheWorldNews,GetCreativeNews,GetBattleRoyaleNews)
Returns:
status
lastModified
messages
images
Parameters:
language (en / ar / de / es-419 / es / fr / it / ja / ko / pl / pt-BR / ru / tr / zh-CN / zh-Hant)
Get Cosmetics
-GetSkin
-GetBackpack
-GetPickaxe
-GetEmote
-GetGlider
-GetEmoji
-GetLoadingScreen
-GetContrail
-GetWrap
-GetMusic
-GetPet
-GetSpray
-GetToy
-GetBanner
Returns:
id
type
backendType
rarity
backendRarity
name
shortDescription
description
set
series
backendSeries
images
variants
gameplayTags
displayAssetPath
definition
builtInEmoteId
requiredItemId
path
lastUpdate
added
Parameters:
id
NameorId
language (default = en) en / ar / de / es-419 / es / fr / it / ja / ko / pl / pt-BR / ru / tr / zh-CN / zh-Hant
searchLanguage (default = en) en / ar / de / es-419 / es / fr / it / ja / ko / pl / pt-BR / ru / tr / zh-CN / zh-Hant
matchMethod (default = full) full / contains / starts / ends
type string (case insensitive)
backendType string (case insensitive)
rarity string (case insensitive)
backendRarity string (case insensitive)
name string (case insensitive, searchLanguage & matchMethod based)
shortDescription string (case insensitive, searchLanguage & matchMethod based)
description string (case insensitive, searchLanguage & matchMethod based)
set string (case insensitive, searchLanguage & matchMethod based)
series string (case insensitive, searchLanguage & matchMethod based)
backendSeries string (case insensitive)
hasSmallIcon true / false
hasIcon true / false
hasFeaturedImage true / false
hasBackgroundImage true / false
hasCoverArt true / false
hasDecal true / false
hasVariants true / false
hasGameplayTags true / false
gameplayTag string (case insensitive)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fn_api_wrapper-3.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f2f76d71678a13e0e989613e9efb81bc62e3864f3b5dc161ed48d308c2261be |
|
MD5 | 99e8f572f57481596d87b25ef80bb5b1 |
|
BLAKE2b-256 | 855783b768302e8ce61f85124e11ce6dd364e3ee686fce1c8279e8caba524273 |