Open Meverhart opened 7 years ago
Sorry @Meverhart ! I didn't got a notification for some reason!
I strongly advice you to not use the package because the maintainer of LeagueWrap won't update his package at the moment (See #15).
I'm looking to switch to https://github.com/Babacooll/lol-api, if they merge the v3 supporting pull request.
Let's say I have a query that looks like this:
LeagueAPI::match()->match(2418532079)
That's clearly going to return a array in the form of a DTO. Is there a easy way to convert this data to Json? Or, even better is there an easy way to store this data in a database? I'm a bit new to Laravel so I don't know if I can auto generate a database Schema based on a DTO like this. Ideally I'd like to pull all match data for a specific summoner and store it into a database. Just not sure how to get from point A to point B.