lorenzh / fut-api

Ultimate Team API - FIFA 16 - unofficial
MIT License
53 stars 12 forks source link

Possibilities on listing players from the club? #10

Open thiagotietze opened 8 years ago

thiagotietze commented 8 years ago

Aye mate!

First of all, great work!!!

I'm looking for a way to list the players that I have in my club, so I can manipulate them over the JSON. Do you think this is something that is possible?

More than that, do you think that in a "simplified method" it is possible to list just the IDs of the players, so I can correlate to the master fut Database?

Cheers!

lorenzh commented 8 years ago

i can create a function to fetch the players in your club but i don't know how the response will look like, because i return the original response from the api.

thiagotietze commented 8 years ago

So, yeah... And I think I already have the "answer" to that question... I was debugging the WebApp with Fiddler and found that it replies with the PNG for the player, so... Image, not Data... What I've done to acomplish what I wanted (Export "My Club" players to a CSV Spreadsheet) was to:

Bunch of work... But actually worked pretty well :-D

If you have any guides on how not to do the Webcrawling/scraping on a actual browser, but over a wget/curl instead.. That would help me. :-D

Cheers!