Step 1: Connect to the Fortnite API
First thing we need is an API key. This will be passed along with each call we make to any of the API endpoints.
- Login here https://fortnitetracker.com/site-api
- Click on Manage or Create API Keys
- Create an Application
- At the bottom of your applications details page you will see your API Key.
We are going to be using the player stats endpoint to retrieve the stats on a player. The endpoint requires a platform (pc, xb1, psn), and an epic nickname.
Endpoint https://api.fortnitetracker.com/v1/profile/{platform}/{epic-nickname}
Now we will write a function to make it easy to get player stats. Using curl, we will pass along our endpoint and the correct parameters (platform, epic nickname, api key)
// place your api key here define( 'FN_API_KEY', 'YOUR-API-KEY-HERE' ); /** * Get player stats from the fortnite api * * @param String $platform the epicNickname is on (pc, xb1, psn) * @param String $epicNickname name of the player * * @return Array */ function getPlayerStats( $platform, $epicNickname ) { // api endpoint with the platform and epicNickname $apiUrlPlayerStatsEndpoint = 'https://api.fortnitetracker.com/v1/profile/' . $platform . '/' . $epicNickname; // open curl call $ch = curl_init(); // specify our api endpoint curl_setopt( $ch, CURLOPT_URL, $apiUrlPlayerStatsEndpoint ); // pass along our api key as TRN-API-Key in the headers curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'TRN-Api-Key:' . FN_API_KEY ) ); // more curl options curl_setopt( $ch, CURLOPT_RETURNTRANSFER, TRUE ); curl_setopt( $ch, CURLOPT_HEADER, FALSE ); curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, FALSE ); // get response from api and close curl $response = curl_exec( $ch ); curl_close( $ch ); // return api response as a php array return json_decode( $response, true ); }
Step 2: Style It Up
Once we have our data. We can go ahead and start giving it a nice Fortnite look and feel. If we want our player stats to feel like Fortnite, we need the correct font face. Here is the font face I am using.
@font-face { font-family: 'Fortnite'; src: url( 'BurbankBigCondensed-Bold.otf' ); }
Fortnite Player Stats Website
Put everything together and we get our own Fortnite player stats website! I highlighted the main part which is connecting to the API and the custom Fortnite font face. The rest is just simple HTML/CSS and full code is up on GitHub!
Links
That is going to do it for this post! Leave any comments/questions/concerns below and thanks for stopping by the blog!
Fansly Leaks Mega Link
Taylor Hall OnlyFans Mega Link Download
Mikaila Dancer OnlyFans Mega Link Download
Mikaila Dancer OnlyFans Mega Link Download
Buy Leaked Content ( Visit https://archiver.fans )
Taylor Hall OnlyFans Mega Link Download
Crii Baby RiRi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Fansly Leaks ( Visit https://archiver.fans )
Mulan Hernandez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Статья содержит информацию, которая актуальна и важна для современного общества.
TheRealRebeccaJ OnlyFans Mega Link Download
Lexi 2 Legit OnlyFans Mega Link Download
Genesis Mia Lopez OnlyFans Mega Link Download
Corinna Kopf OnlyFans Mega Link Download ( Visit https://archiver.fans )
Itz Grippy TV OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Only Fans Leaks ( Visit https://archiver.fans )
Caaart OnlyFans Mega Link Download
Im xXx Dark OnlyFans Mega Link Download ( Visit https://archiver.fans )
GG With The WAP OnlyFans Mega Link Download
Yasmine Lopez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Barely Legal Lexi OnlyFans Mega Link Download
Corinna Kopf OnlyFans Mega Link Download ( Visit https://archiver.fans )
Free Only Fans Leaks ( Visit https://archiver.fans )
8TB Only Fans Mega ( Visit https://archiver.fans )
Hot 4 Lexi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Hola Bulma OnlyFans Mega Link Download ( Visit https://archiver.fans )
GG With The WAP OnlyFans Mega Link Download
Buy Only Fans Leaks ( Visit https://archiver.fans )
Black Ass Jenny OnlyFans Mega Link Download
Buy Leaked Only Fans ( Visit https://archiver.fans )
North Natt OnlyFans Mega Link Download
Its Lunar Liv OnlyFans Mega Link Download
Crii Baby RiRi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Gina WAP OnlyFans Mega Link Download ( Visit https://archiver.fans )
Mulan Hernandez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Leaked Only Fans ( Visit https://archiver.fans )
North Natt OnlyFans Mega Link Download
Black Ass Jenny OnlyFans Mega Link Download
Free Only Fans Leaks ( Visit https://archiver.fans )
Yasmine Lopez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Genesis Mia Lopez OnlyFans Mega Link Download
Corinna Kopf OnlyFans Mega Link Download ( Visit https://archiver.fans )
Barely Legal Lexi OnlyFans Mega Link Download
Jenise Hart OnlyFans Mega Link Download
Black Ass Jenny OnlyFans Mega Link Download
Caaart OnlyFans Mega Link Download
Buy Fansly Leaks ( Visit https://archiver.fans )
Fansly Leaks Mega Link
Hot 4 Lexi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Gina WAP OnlyFans Mega Link Download ( Visit https://archiver.fans )
Taylor Hall OnlyFans Mega Link Download
Buy Only Fans Leaks ( Visit https://archiver.fans )
Only Fans Leaks Free Download
Only Fans Leaks Mega Folders
Ima Cri Baby OnlyFans Mega Link Download ( Visit https://archiver.fans )
Only Fans Leaks Free Download
Buy Only Fans Leaks ( Visit https://archiver.fans )
TheRealRebeccaJ OnlyFans Mega Link Download
3TB Only Fans Mega
3TB Only Fans Mega
Daalischus Rose OnlyFans Mega Link Download
Crii Baby RiRi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Black Ass Jenny OnlyFans Mega Link Download
Mega Link Store
Hmm iss anylne elsee experidncing problem with the pictures
onn this blog loading? I’m trting tto find ouut if itss a problem oon my
eend or if it’s the blog. Any responsds would be greatly appreciated.
Mikaila Dancer OnlyFans Mega Link Download
Buy Fansly Leaks ( Visit https://archiver.fans )
Caaart OnlyFans Mega Link Download
Buy Leaked Content ( Visit https://archiver.fans )
Leah Mifsud OnlyFans Mega Link Download ( Visit https://archiver.fans )
Corinna Kopf OnlyFans Mega Link Download ( Visit https://archiver.fans )
Write more, thaats aall I have too say. Literally, it
seems aas hough youu relied on tthe vvideo tto mae your point.
Yoou clearly know what youre tlking about, wwhy tthrow aweay youur intelligene on jusdt postijng videos tto your sife wyen you could bbe giving uss something informative to read?
GG With The WAP OnlyFans Mega Link Download
GG With The WAP OnlyFans Mega Link Download
Im xXx Dark OnlyFans Mega Link Download ( Visit https://archiver.fans )
Only Fans Leaks Mega Folders
Rebecca J OnlyFans Mega Link Download ( Visit https://archiver.fans )
Only Fans Leaks Free Download
Updated Only Fans Leaks ( Visit https://archiver.fans )
Buy Leaked Content ( Visit https://archiver.fans )
Buy Leaked Only Fans ( Visit https://archiver.fans )
Daalischus Rose OnlyFans Mega Link Download
Ima Cri Baby OnlyFans Mega Link Download ( Visit https://archiver.fans )
Lexi 2 Legit OnlyFans Mega Link Download
8TB Only Fans Mega ( Visit https://archiver.fans )
3TB Only Fans Mega
I have been exploring for a bit for any high quality articles or blog posts in this sort of area . Exploring in Yahoo I finally stumbled upon this web site. Reading this information So i’m satisfied to show that I’ve a very excellent uncanny feeling I found out exactly what I needed. I most indubitably will make certain to do not disregard this site and give it a look on a continuing basis.
Updated Only Fans Leaks ( Visit https://archiver.fans )
Black Ass Jenny OnlyFans Mega Link Download
Hola Bulma OnlyFans Mega Link Download ( Visit https://archiver.fans )
Автор статьи представляет информацию, подкрепленную различными источниками, что способствует достоверности представленных фактов. Это сообщение отправлено с сайта https://ru.gototop.ee/
Crii Baby RiRi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Hot 4 Lexi OnlyFans Mega Link Download ( Visit https://archiver.fans )
Rebecca J OnlyFans Mega Link Download ( Visit https://archiver.fans )
Hello.This post was really remarkable, especially because I was browsing for thoughts on this subject last Tuesday.
TheRealRebeccaJ OnlyFans Mega Link Download
Rubi Rose OnlyFans Mega Link Download
Gina WAP OnlyFans Mega Link Download ( Visit https://archiver.fans )
GG With The WAP OnlyFans Mega Link Download
Rebecca J OnlyFans Mega Link Download ( Visit https://archiver.fans )
Bulma XO OnlyFans Mega Link Download
wonderful post, very informative. I wonder why the other specialists of this sector don’t notice this. You must continue your writing. I am confident, you have a great readers’ base already!
Yasmine Lopez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Leaked Only Fans ( Visit https://archiver.fans )
Mega Link Shop ( Visit https://archiver.fans )
Gina WAP OnlyFans Mega Link Download ( Visit https://archiver.fans )
8TB Only Fans Mega ( Visit https://archiver.fans )
Fansly Leaks Mega Link
Only Fans Leaks Mega Folders
Emmanuel Lustin OnlyFans Mega Link Download ( Visit https://archiver.fans )
Free Only Fans Leaks ( Visit https://archiver.fans )
Free Only Fans Leaks ( Visit https://archiver.fans )
Gina WAP OnlyFans Mega Link Download ( Visit https://archiver.fans )
Free Only Fans Leaks ( Visit https://archiver.fans )
Buy Only Fans Leaks ( Visit https://archiver.fans )
TheRealRebeccaJ OnlyFans Mega Link Download
Mulan Hernandez OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Leaked Content ( Visit https://archiver.fans )
TheRealRebeccaJ OnlyFans Mega Link Download
3TB Only Fans Mega
Daalischus Rose OnlyFans Mega Link Download
Updated Only Fans Leaks ( Visit https://archiver.fans )
TheRealRebeccaJ OnlyFans Mega Link Download
Emmanuel Lustin OnlyFans Mega Link Download ( Visit https://archiver.fans )
Buy Leaked Only Fans ( Visit https://archiver.fans )
3TB Only Fans Mega
Buy Leaked Only Fans ( Visit https://archiver.fans )
Buy Leaked Content ( Visit https://archiver.fans )
I found your blog website on google and examine just a few of your early posts. Continue to keep up the excellent operate. I just extra up your RSS feed to my MSN News Reader. Looking for ahead to reading extra from you later on!…
Mega Link Store
Cherri Cali OnlyFans Leaks Mega Folder Link Download ( https://Archiver.Fans )
BombshellMint ( https://UrbanCrocSpot.org/shop )
PrettyFaceSZN2.0 Naomi Nash OnlyFans Leaks Mega Folder Link Download ( https://UrbanCrocSpot.org )
Tytiania Sargent Naked Only Fans ( https://UrbanCrocSpot.org/shop )
GinaWAP Free Only Fans https://urbancrocspot.org/tag/gg-with-the-wap/
GGWithTheWAP Only Fans PPVs ( https://urbancrocspot.org/gina-wap-gg-with-the-wap-only-fans-mega-link-9gb/ )
The following time I read a weblog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to learn, but I truly thought youd have something attention-grabbing to say. All I hear is a bunch of whining about one thing that you could possibly repair if you werent too busy searching for attention.
BombshellMint ( https://UrbanCrocSpot.org/shop )
GGWithTheWAP Leaks ( https://urbancrocspot.org/gina-wap-gg-with-the-wap-only-fans-mega-link-9gb/ )
GGWithTheWAP Only Fans Leaks https://urbancrocspot.org/product-tag/gg-with-the-wap/
Cubana Redd OnlyFans Leaks Mega Folder Link Download ( https://UrbanCrocSpot.org )
GCupBaby OnlyFans Leaks Mega Folder Link Download ( https://UrbanCrocSpot.org )
Bombshell Mint Nude Leaks ( https://CrocSpot.Fun )
GGWithTheWAP Mega Folder Download ( https://urbancrocspot.org/gina-wap-gg-with-the-wap-only-fans-mega-link-9gb/ )
GGWithTheWAP Mega Folder Download ( https://urbancrocspot.org/gina-wap-gg-with-the-wap-only-fans-mega-link-9gb/ )
Lena Paul Lena is a Peach OnlyFans Leaks Mega Folder Link Download
BombshellMint ( https://UrbanCrocSpot.org/shop )
Tytiania Sargent OnlyFans Leaks ( https://urbancrocspot.org/the-real-bombshell-mint-only-fans-mega-link/ )
Bunz4Ever OnlyFans Leaks Mega Folder Link Download
GGWithTheWAP Only Fans Leaks https://urbancrocspot.org/product-tag/gg-with-the-wap/
WavyTing OnlyFans Leaks Mega Folder Link Download ( https://UrbanCrocSpot.org )
Arabelle Raphael OnlyFans Leaks Mega Folder Link Download
BombshellMint OnlyFans PPVs ( https://urbancrocspot.org/the-real-bombshell-mint-only-fans-mega-link/ )
Bombshell Mint Porn ( https://urbancrocspot.org/the-real-bombshell-mint-only-fans-mega-link/ )
GGWithTheWAP Leaks ( https://urbancrocspot.org/gina-wap-gg-with-the-wap-only-fans-mega-link-9gb/ )