mercredi 2 janvier 2019

Fetching data from public thirdparty website with PHP

I want to fetch values from this site: https://www.futbin.com/19/players?page=1

As you can see, every player has a price, which I want to fetch to work with it.

I'm stuck though. I found out about cURL. Is that something I could use for this? My goal would be to fetch the data and have it somewhat sorted in JSON. But I feel like I have to use RegEx's to go through the whole source code, am I right?

I want to use php for it.

Any ideas? Thanks in advance!




Aucun commentaire:

Enregistrer un commentaire