+ 4
How to use API in python?
Actually, I'm new to API.i don't know how to use them. i got API for pubg mobile. can anyone tell me how i can use this API in python? I'm using Django for the server side. can i work with this API in Javascript? API documentation. https://documentation.pubg.com/en/index.html
12 Respostas
+ 7
usually by calling the api by http request, then process the response.
ex.
calling request to
https://api.pubg.com/shards/players?filters[playerNames]=xGamer257
parse the response to get the data you need
ex. for taking how many match the player ever had
len(response.data[0].relationships.matches)
+ 4
Maninder $ingh yes and here is only one of many examples.
https://www.valentinog.com/blog/drf/
+ 3
its your idetification,
>"hey pubg let me get some player data"
"who are you ?"
>*show API key*
"oh, yes you're registed, here's the data you need"
+ 1
Taste thanks.
0
Taste what is the use of the API key.
0
API is used by our applications to access the data of something else.
API is a type ok key
0
Suryaansh singh how can I integrate an external API on my blog?