Skip to main content

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.

Files for fn-api-wrapper, version 3.0.3
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 hashes
Filename, size fn_api_wrapper-3.0.3.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page