Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.
PLEASE READ - Webmaster Support Forum
This forum will be retired in the near future. Please direct all queries to our dedicated GitHub support page https://github.com/vatsimnetwork/developer-info/discussions 
Here you can find documentation on our services and we are continuing to migrate pertinent information into the Wiki pages https://github.com/vatsimnetwork/developer-info/wiki

Requesting a little help


Alan Cooke
 Share

Recommended Posts

  • Board of Governors
Alan Cooke
Posted
Posted

Hi all,

 

I am currently making a new site for the Asian Region and I would like to be able to add this from the .net site

 

31667974e22107f9c240ead2839ff037.png

 

Please could some kind member share the code that would be needed to do this.

 

Thanks in advance

 

Alan

Alan Cooke VATGOV11

Vice President - Membership
VATSIM Board of Governors

[email protected]   

Do you have an account query check out FAQ

 spacer.png9KMxVhG.png.e77dfe6e65703daa7a59178600611036.png

Link to comment
Share on other sites

  • Board of Governors
Alan Cooke
Posted
Posted

Anyone available to help ?

Alan Cooke VATGOV11

Vice President - Membership
VATSIM Board of Governors

[email protected]   

Do you have an account query check out FAQ

 spacer.png9KMxVhG.png.e77dfe6e65703daa7a59178600611036.png

Link to comment
Share on other sites

Luca Benelli
Posted
Posted

I don't have any recent code, but you need to read the data files (start from status.vatsim.net and fetcha random data file), then generate the stats you need from there.. (for users over 24 hours you may probably need something more).

 

Some time ago i think i even released some code here in the forums, have you tried looking at older posts?

Luca Benelli - C3 - P2

Link to comment
Share on other sites

  • Board of Governors
Alan Cooke
Posted
Posted

Hi Luca and thank you for the reply. I have come across a couple of posts in the forum but I dont understand them. I am not a real coder as such lol. I just modify templates. The 24 hour is not important if it would cause a problem

 

I have come across this https://stats.vatsim.net/user_count_json.php which seems to give the information but I do not know how to populate a table with it. I have googled and tried some examples but my lack of knowledge is proving a real hurdle

Alan Cooke VATGOV11

Vice President - Membership
VATSIM Board of Governors

[email protected]   

Do you have an account query check out FAQ

 spacer.png9KMxVhG.png.e77dfe6e65703daa7a59178600611036.png

Link to comment
Share on other sites

Kieran Hardern
Posted
Posted

So that's the one that you'll have found looking through the .net source code, but isn't a public endpoint (hence the access control headers). Therefore I wouldn't base code on it as you've no guarantee that it'll be there and you'll remain having access.

 

As Luca says, public data about the network comes through the datafeed. If you're not able to work with some of the existing libs that do the heavy lifting for you and you really want this data on your site, then I'd suggest you need someone to do this for you, not just a code snippet.

Link to comment
Share on other sites

  • Board of Governors
Alan Cooke
Posted
Posted

Thanks for the reply Kieran. I didn't find it someone gave it to me lol. I would know where to find it haha. I will just have to hope that someone here can help me as this is a way over my head

Alan Cooke VATGOV11

Vice President - Membership
VATSIM Board of Governors

[email protected]   

Do you have an account query check out FAQ

 spacer.png9KMxVhG.png.e77dfe6e65703daa7a59178600611036.png

Link to comment
Share on other sites

  • Board of Governors
Alan Cooke
Posted
Posted

I was able to get someone to do this for me. Thanks to all that replied

Alan Cooke VATGOV11

Vice President - Membership
VATSIM Board of Governors

[email protected]   

Do you have an account query check out FAQ

 spacer.png9KMxVhG.png.e77dfe6e65703daa7a59178600611036.png

Link to comment
Share on other sites

 Share