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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size fn_api_wrapper-3.0.3-py3-none-any.whl (4.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size fn_api_wrapper-3.0.3.tar.gz (3.5 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for fn_api_wrapper-3.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc9ec6afb55af8f0476d8e5f854cf29041b9ec9e9832b1e68a42354c422797b7 |
|
MD5 | fe11f063ddbffad99bf03e20903beb6c |
|
BLAKE2-256 | 8b5c38b34b00a195d7875b1d02c813531c122717ec22ac840d01cecf7d882567 |