Player information with API

I am developing a website and would like to know if it is possible to get information (Experience, Grade, Flight Time, Online Flights and Landings) of the players using IF API

Thank you for your attention, Brazil team.

3 Likes

Something like this?

5 Likes

No. This API that Ms. Laura is making available is for a connect live project in GUI. What I want and for website (json, requests, html or xml

3 Likes

Then try this…

If this doesn’t get you what you need, then you either need to be more specific or go directly with Laura or someone on the development side like I have done for a project I’m working on.

It’s kind of tough to understand what it is you need exactly…[quote=“Dalmo_Cabral, post:3, topic:126330”]
What I want and for website (json, requests, html or xml
[/quote]

I can only assume that you are wanting to make API calls to get the information and populate it on a webpage. Seems like Ive seen that idea somewhere else? Anyway, best of luck!

1 Like

You’ll want to use the UserDetails API (POST request with an array of user IDs in the body). From the main post:

UserDetails.aspx
Use this call to get information about a user
Parameters: apikey
Post Request: a json object containing an array of strings named UserIDs.

4 Likes

@Cameron But would I need a key to get that information?

How do I get this key?

import requests

key = ‘’
reponse = requests.get(" http://infinite-flight-public-api.cloudapp.net/v1/UserDetails.aspx?apikey=" key)
print(reponse.text)

We’ll send one over via PM as soon as possible :)

FYI, you’ll need to POST for this particular API; if you’re using requests on Python, you’d do it something like this:

requests.post(url, data=["userID1", "userID2"])

Thank you, waiting for your PM

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.