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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file fn_api_wrapper-3.0.3.tar.gz.

File metadata

  • Download URL: fn_api_wrapper-3.0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for fn_api_wrapper-3.0.3.tar.gz
Algorithm Hash digest
SHA256 248f54a70fab640095379a76f0ae0b8b043d7de46ab165d1f7a53127412e1cf7
MD5 5e4ee06071665f4933794d52af7a3843
BLAKE2b-256 94165b3e51c823f6b35ea9af2ab2aa5e242a208290d5f48a93d27464d56336a6

See more details on using hashes here.

File details

Details for the file fn_api_wrapper-3.0.3-py3-none-any.whl.

File metadata

  • Download URL: fn_api_wrapper-3.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for fn_api_wrapper-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cc9ec6afb55af8f0476d8e5f854cf29041b9ec9e9832b1e68a42354c422797b7
MD5 fe11f063ddbffad99bf03e20903beb6c
BLAKE2b-256 8b5c38b34b00a195d7875b1d02c813531c122717ec22ac840d01cecf7d882567

See more details on using hashes here.

Supported by

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