Giter Club home page Giter Club logo

apexlegendsapi's Introduction

Apex Legends API

Documentation has moved! Find everything you need on https://apexlegendsapi.com

Old documentation is still available on README_old.md :)

Currently providing: Map rotation API, stats API, game data API, server status API, match history API, news API, and shop API.

apexlegendsapi's People

Contributors

hugoderave avatar takitsu21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

apexlegendsapi's Issues

Can't fetch news API

Hey there,
I'm facing a strange issue,
I can correctly fetch the stats API using my key, but I can't do the same for the news API, it always responds with
Error: API key doesn't exist !
I've tried with both auth GET parameter and Authorization header.

Am I missing something?

406 from AWS Lambda

Hi, I can access the API fine, but when I try to pull data via an AWS Lambda function, I get a 406. Are yall blacklisting their IPs or is something else going on?

It is not showing All champion stats

I tried mine as well as for a friend of mine and only the selected legend details are shown.
He has 100+ kills on lifeline and other legends.

{
"global": {
"name": "OmgitsMarcusSs",
"uid": 1002927795213,
"platform": "PC",
"level": 113,
"toNextLevelPercent": 69,
"internalUpdateCount": 3902,
"battlepass": {
"level": -1
}
},
"realtime": {
"lobbyState": "open",
"isOnline": 0,
"isInGame": 1,
"canJoin": 0,
"partyFull": 0,
"selectedLegend": "Octane"
},
"legends": {
"selected": {
"Octane": {
"kills": 0,
"1905735931": 0
}
},
"all": {
"Octane": {
"kills": "0"
}
}
},
"total": {
"kills": 0,
"kd": -1
}
}

Only retrieving 'selected' legend instead of 'all' legends

Hey! I have been playing around with your api for a couple of weeks and I haven't been able to figure out why in the legends section the api only finds the 'selected' legend object for some accounts instead of the default behaviour of retrieving 'all' & 'selected' legend objects.
I hope you have a deeper insight than me about this issue.

Thx for the api!

Different values in 'all' and 'selected'

I am not sure if the data I am retrieving is incorrect or maybe I am missing something.
In the 'all' legends object Pathfinder does only have 35 kills. However in the 'selected' legend object it has 174 kills.

image

Need more Data

Hello,
First nice work for this API, I have a question about the API, it's possible to have more data
like : headshots, hstokills , daily_stats, smg kills, pistols kill etc..

like this API
{"playerfound":true,"aid":"f5337d769b7b29628f59d8c84ea45d9d","name":"BallerInGame","platform":"PC","skillratio":1.8720000000000001083577672034152783453464508056640625,"visits":"8653","avatar":"https://apextab.com/cache/fc4c4cba183c2f81a94730be057cf07d.png","legend":"Wraith","level":"59","kills":"389","headshots":"568","hstokills":"0","matches":"333","damage":"0","lastdata":null,"kills_Bloodhound":"55","kills_Gibraltar":"10","kills_Lifeline":"14","kills_Pathfinder":"57","kills_Wraith":"13","kills_Bangalore":"227","kills_Caustic":"4","kills_Mirage":"9","headshots_Bloodhound":"89","headshots_Gibraltar":"12","headshots_Lifeline":"31","headshots_Pathfinder":"124","headshots_Wraith":"11","headshots_Bangalore":"283","headshots_Caustic":"6","headshots_Mirage":"12","matches_Bloodhound":"37","matches_Gibraltar":"16","matches_Lifeline":"14","matches_Pathfinder":"60","matches_Wraith":"20","matches_Bangalore":"167","matches_Caustic":"9","matches_Mirage":"10","damage_Bloodhound":"0","damage_Gibraltar":"0","damage_Lifeline":"0","damage_Pathfinder":"0","damage_Wraith":"0","damage_Bangalore":"0","damage_Caustic":"0","damage_Mirage":"0","globalrank":"97254","utime":"1556190269","kills_Octane":"0","headshots_Octane":"0","matches_Octane":"0","damage_Octane":"0","daily_stats":{"1555027200":{"kills":3,"headshots":2,"matches":2,"damage":0},"1553212800":{"kills":7,"headshots":6,"matches":4,"damage":0},"1552262400":{"kills":3,"headshots":9,"matches":5,"damage":0},"1552003200":{"kills":4,"headshots":4,"matches":2,"damage":0},"1551830400":{"kills":26,"headshots":24,"matches":15,"damage":0},"1551744000":{"kills":17,"headshots":33,"matches":8,"damage":0},"1551657600":{"kills":15,"headshots":19,"matches":14,"damage":0},"1551484800":{"kills":14,"headshots":20,"matches":8,"damage":0}}}

thank for your help

Consistency of field names in API response

Hey!

First, I want to thank you for your work. It seems that your API is just about the only one that provides data to Apex Legends.

Secondly, I would like to suggest a small improvement. I noticed that some fields are named in different styles. Somewhere snake_case is used and somewhere camelCase is used. For example, the readableDate_start and DurationInSecs fields.

Is there any way to fix it?

"all" field

"total" field is not present for players who were queried after initial release.

Fix in progress.

Still active?

Hello, is this still maintained since the website is also down?

S4 UPDATE

Are the s4 banner stats going to be added to the total stats? At the moment they get displayed in the "selected legend" object but are not saved into the "all" or "total" objects.

Thanks again for this great api!

Queue of maps in rotation

Hey!

I know this is not the best place to ask questions. But unfortunately, I don't know how to do it any other way.

In the documentation, I found a way to get information about the current and next map in the rotation. Is there any way to know the queue of maps at least for a day or more?

Unable to fetch data

The APi is not responding to requests anymore.
I also tried creating a new API key but its no longer working.

I get the following error

api.mozambiquehe.re is currently unable to handle this request.
HTTP ERROR 500

[Feature Request] Finding players by their UID

I would like to be able to find players by their UID instead of their Username (and preferably without their Platform).

Use case;
We've got a system set up that automatically keeps tracks of a player's profile. We do this by storing their UID, Username, and Platform and making regular checks. We find them by their Username and Platform, but if they decide to change their Username this method will break.

Do you think this would be possible?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.