To get the prematch odds from bet365 you need to be white listed at their affiliate server.
Then using file_get_contents and a simplexml i can prepare the data for you in all formats: either json, xml, store to database, txt, or even get the odds process and display directly to frontend.
If you need any other assistance regaring odds comparing, or payout calculations, valuebet calculations, arbitrage, please fell free to contact me anytime.