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.

Source Distribution

fn_api_wrapper-3.0.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

fn_api_wrapper-3.0.3-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page